I can’t work this out. If the code was short and sweet i’d post it, but i’ve replaced variables with constant values including DeltaTime to ensure nothing is getting incremented. Any ideas?
What’s more bizarre is that i’m printing out the velocity and it’s the number I expect (steady at 60kph), but definitely not what’s happening visually.
How are you moving the car? Are you moving it along a spline? If so, it seems to happen after the first iteration, so are you sure your sample time is valid or whether your path sampling code has defined behavior for when your sample time exceeds the maximum time?
Thanks for the response. I’m not using the spline directly - i’m breaking it down into waypoints. I have noticed however, that an event is getting triggered multiple times (once the first time, twice the second, etc.) but I can’t tell from where.
Got it! I was using a pool structure, and the vehicle was getting added twice which triggered an Initialize which meant it was just spawning/despawning really quickly as time went on.