I got this code from doublecrossgaming (Ue4 Tutorial - Moving an Object along a path using a Spline Track - YouTube) and for my project its working really nice except one thing, the speed.
You can adjust the speed of the car by adjusting the “Duration” value. The problem is, the speed depends on the spline track lengh. So the bigger the track gets, the faster the car will move. I need the car to move at a set speed though, independent of the track lengh.
How could I adjust this code to make this happen?
The truth is that I dont understand this code, which is really bad. But it works so nicely that I kinda dont want to replace it with my own halfass code.So if you have a great day and want to make another dude happy, maybe you have some additional explaining for me…
Big thanks for your time, here is a potato for you