Exemplo n.º 1
0
 /// <summary>
 /// (Called by KinematicCharacterMotor during its update cycle)
 /// This is where you tell your character what its velocity should be right now.
 /// This is the ONLY place where you can set the character's velocity
 /// </summary>
 public override void UpdateVelocity(ref Vector3 currentVelocity, float deltaTime)
 {
     CurrentMovementState.UpdateVelocity(ref currentVelocity, deltaTime);
 }