How to make multiple models run in orbit,

How to achieve multiple models connected together along the track normal operation, a single run good control, multiple I do not know how to write the algorithm. The following is a related video:

It depends I guess.
Do you want all the connected models to always be on the track or are they only connected to the head model with freedom for movement?

They’re all independent models

Check out how the camera is animated along the spline in this example:

https://threejs.org/examples/webgl_geometry_extrude_splines

You only have to enable the camera helper via the GUI to see the effect. Maybe you can use a similar approach in your app.

Thank you very much for your comments, I basically achieve this effect through their own methods, if you have a better solution to share with me, I will continue to optimize, the following is the effect:

1 Like