Footsteps

Hi I am trying to put together this BP but now that I am trying I’m finding there are a few missing pieces or misunderstanding on my part. OK so I have created the two variables. Last position as a Vector and distance as a float.

Capture.JPG

Pawn movement would be a bit tricky with the pawn I’m using so I’ll go with event tick. Now you say to “calculate the getactorlocation node - last position” but what do you mean by calculate?
Capture1.JPG
The Last Position vector doesn’t connect to the get actor location node so there must be another node that you didn’t mention that allows me to do that. To “Calculate” it. I don’t know what node to use so that is where the gap in my knowledge comes in.

Now I think I know what you mean by “The length of this vector is the moved distance. Add it to Distance and check whether Distance > Stride Length. If so, make a foot step sound” which are these nodes.

But when you mention “and subtract Stride Length from Distance, so you are ready for the next step.” again I’m not sure what nodes I would use here and where to plug them in.

Lastly I think I have got the Line Trace By Channel for different footstep sounds right but I can’t check until I figure out that 1st part and what you want me to do with the getactorlocation node.