01-18-2021, 06:49 PM
Hi
1- This formula should do it: position = speed * elapsed time. In a per frame logic, you will move the position by speed * time.deltaTime every frame.
2- Same as above, since you are using absolute position and speed, the speed is in m/s. If you were using relative speed, then you would have to multiply the speed by the length of the spline.
1- This formula should do it: position = speed * elapsed time. In a per frame logic, you will move the position by speed * time.deltaTime every frame.
2- Same as above, since you are using absolute position and speed, the speed is in m/s. If you were using relative speed, then you would have to multiply the speed by the length of the spline.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.