Confused about Character Input

Velcer

Member
Code:
            KinematicObjectManager.SetCharacterMovementInput(characterLocomotion.KinematicObjectIndex, 0, 1);

From my understanding, you have horizontal, and then the vertical input. I've tried negative and positive values, however the character only moves forward, never left -- right, etc. How does this input work? I cannot find anything on the documentation for this.
 
The input values get sent to the movement type which then determines the direction. There is also a yaw value that is used for rotation.
 
The input values get sent to the movement type which then determines the direction. There is also a yaw value that is used for rotation.

Oh! I see. I had the impression that this was something that would activate walking or running, facing the direction the character should move.


If I wanted to give the character controller my own input, e.g tell it to start walking in the direction it's facing, or walk left, what approach should I take?
 
Top