b3dMoveCharacter

Sets character horizontal movement velocity (velocityX/Z normalized input, scaled by movement state speed). Takes characterHandle (character controller from b3dCreateCharacterController), velocityX (horizontal X-axis input typically -1 to 1), velocityZ (horizontal Z-axis input typically -1 to 1). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

characterHandle Int
velocityX Double
velocityZ Double

Returns

Void

Quick Summary

Sets character horizontal movement velocity (velocityX/Z normalized input, scaled by movement state speed). Takes characterHandle (character controller from b3dCreateCharacterController), velocityX (horizontal X-axis input typically -1 to 1), velocityZ (horizontal Z-axis input typically -1 to 1). Returns nothing.

Technical Exegesis...

Sets character horizontal movement velocity (velocityX/Z normalized input, scaled by movement state speed). Takes characterHandle (character controller from b3dCreateCharacterController), velocityX (horizontal X-axis input typically -1 to 1), velocityZ (horizontal Z-axis input typically -1 to 1). Returns nothing. Stores input velocity scaled by current movement state (walk/run/crouch speed), combined with physics in UpdatePhysicsSystem. Call every frame with player input for character movement.

Example

Example.bam
; No example implemented yet