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