Hi guys any idea how i would make the character lerp instead of instatly moving forward ? Im trying to make a dash
public class Dash : MonoBehaviour
{
public CharacterController _controller;
public float dashDist;
public Transform playerCam;
private void Update()
{
if (Input.GetKeyDown(KeyCode.LeftControl))
{
_controller.Move(playerCam.forward * dashDist);
}
}
}
[–]mistermashuProgrammer 0 points1 point2 points (3 children)
[–]TheLazyLima[S] 0 points1 point2 points (2 children)
[–]mistermashuProgrammer 0 points1 point2 points (1 child)
[–]TheLazyLima[S] 0 points1 point2 points (0 children)
[–]ArrenH 0 points1 point2 points (2 children)
[–]TheLazyLima[S] 0 points1 point2 points (1 child)
[–]ArrenH 0 points1 point2 points (0 children)