- Home /
GameObjects following dynamic Path
Hey, I've been trying to find an answer to this with no luck, I think i lack the vocabulary.
I need to dynamically create a path / spline from the movement of an object, and then have other objects follow that exact path.
I have created a simple animation in 3DsMax to illustrate the idea. http://imgur.com/gbNXkW2 The pink box is controlled by the player. They shouldn't deform as they do here, just follow the path.
I'm not sure where to start, and I'm hoping someone can point me in the right direction.
Hi @rnbw, did you manage to solve your problem? I am trying to achieve similar movement and I am interested, if the answer from @tanoshimi helped you.
Answer by tanoshimi · Mar 23, 2016 at 11:04 AM
Have you tried http://catlikecoding.com/unity/tutorials/curves-and-splines/ , whch Auntie Google gave me as a top hit for "Unity spline movement"?
Thank you, that looks perfect!
I have tried a lot of combinations of "following" "path" "spline" and "curve", never thought "movement", Doh.