Hi,
I am making a custom first person controller and I want my footstep interval to change according to my player velocity. I have an idea where I put a step length value and then calculate the path that player traveled and every time it's greater or equal than the step length, play footstep sound and reset the path traveled to 0.
**How can I calculate the path that the player traveled?**
Thanks in advance!
↧