b3dSetCharacterAirControl

Sets air control 0.0-1.0 (horizontal movement control while airborne, default 0.3 = 30%). Takes characterHandle (character controller from b3dCreateCharacterController), airControl (air control factor 0.0=no control to 1.0=full control, how much horizontal movement allowed while jumping/falling). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

characterHandle Int
airControl Double

Returns

Void

Quick Summary

Sets air control 0.0-1.0 (horizontal movement control while airborne, default 0.3 = 30%). Takes characterHandle (character controller from b3dCreateCharacterController), airControl (air control factor 0.0=no control to 1.0=full control, how much horizontal movement allowed while jumping/falling). Returns nothing.

Technical Exegesis...

Sets air control 0.0-1.0 (horizontal movement control while airborne, default 0.3 = 30%). Takes characterHandle (character controller from b3dCreateCharacterController), airControl (air control factor 0.0=no control to 1.0=full control, how much horizontal movement allowed while jumping/falling). Returns nothing. Sets data.airControl, affects b3dMoveCharacter horizontal velocity when not grounded. Use to tune jump feel and aerial maneuverability per character or gameplay style.

Example

Example.bam
; No example implemented yet