Quantcast
Channel: Questions in topic: "footsteps"
Viewing all articles
Browse latest Browse all 164

Calculate step interval

$
0
0
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!

Viewing all articles
Browse latest Browse all 164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>