Commit 64d16f00 authored by Andrew Van Buren's avatar Andrew Van Buren

Fixed footstep glitch

parent ffeb0fff
......@@ -35,7 +35,7 @@ public class HeroMobility : MonoBehaviour {
playerMove (input);
if(deltaPos.magnitude > 0.001f && Time.time > lastFootstep) {
lastFootstep += footStepDelay;
lastFootstep = Time.time + footStepDelay;
Footstep();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment