Move3DPhysicsCharacterController
Description
Moves the Controller.
Definition
Move3DPhysicsCharacterController( objID, x, z, velocity )
void agk::Move3DPhysicsCharacterController( uint32_t objID, float x, float z, float velocity )
Move3DPhysicsCharacterController( objID, direction, velocity )
void agk::Move3DPhysicsCharacterController( uint32_t objID, int direction, float velocity )
Parameters
- objID - object ID
- x - The amount to move in the x direction, this will be normalised with the z direction
- z - The amount to move in the z direction, this will be normalised with the x direction
- velocity - travel speed
- direction - 0 = stop, 1 = forward, 2 = backward, 3 = strafe left, 4 = strafe right