- Home /
MoveTowards and keep distance on spline
Hello, I have three objects, they are moving on spline by moveTowards, they have the same and constant speed. If their speed is slow, they keeps distance between each other. But if they are moving fast, they separates. How to keep they stuck to each other when they are moving with moveTowards? They are not rigidbody. Basically, object 3 has to follow 2, and object 2 has to follow 1 as train cars. I tried something like if too close, slow down and if too far, speed up but it makes objects 2 and 3 waving and shaking.
Your answer
Follow this Question
Related Questions
Reposition to minimum distance from target 2 Answers
Make player move to location and stop within a certain distance 1 Answer
texture detail on planes or other meshes 1 Answer
AI distance from Player 3 Answers
Vector*.Distance Performance 5 Answers