Get Distance Along Spline Location - Print String problem

Hi I’m following along a Kart Racer tutorial found here: Unreal Engine 5 Tutorial - Kart Racer Part 5: The Track

At around 10:00, the tutorial is trying to use the “Get Distance Along Spline At Location” and “Find Location Closest to World Location” to keep track of laps in a kart racer. I followed it exactly, however, when I put it on Event Tick I’m getting a static number in the Print String, instead of a constantly changing number as shown in the video. Anyone have any idea what I’m doing wrong?

You can see in these screenshots, the number doesn’t change.

I called the “GetTrackProgress” function on Event Tick, so I’m not sure why it’s a static number. Any help would be appreciated!!

Is this your Cart bp on your screenshot?
Add Draw Debug Sphere as shown on the screenshot. Then hit play and look for big debug sphere. This is the location that your BP is tracking.

Thanks. I did this and it looks like it gets the “PlayerStart” location and doesn’t update from there.

The screenshot from my original post is from a custom function from within my Kart BP yes. Is there maybe some issue with the mapping context?

Any other fixes would be welcome! Thank you.

You can see in this screenshot the location is from the “Playerstart” position, not tracking the kart location.

Ok, Is it possible you are moving components of the Kart instead of the whole Actor? You can try to replace Get Actor Location with Get World Location of the Kart Mesh or other component you are sure is moving and see if it works

Switched it to “Get World Location” for the mesh, and that seemed to work. Thank you!