Hello!
Im using that script
direction = Vector3(input.GetAxis, 0, input.GetAxis);
direction *= .1f; // apply speed
// move the character in this direction
controller.Move(direction);
// Change the forward direction of the player into the direction he is running
controller.transform.forward = direction;
defending = false;
player.animation.CrossFade("Run");
But when i turn the joystick axis from right to the left the character “jumps”.
Im trying to use Quaternion Lerp or Slerp but i dont understand Quaternion code well.
Thank you in advance.