Threejs move along complex path animation


Please can you help me.
I have a problems with animating 3D Mesh to move along given path (CatmullRomCurve3 - spline). Object represent humanoid robot and when not moving should not be with head down so I unsubscribed from scroll event when trigger scroll and rotate when automate scroll is over. But never the less object is still flickering at the start because of changing lookAt like the animation is done.

Spline is not “responsive” and on different screens it looks like it has different lenghts left and right because on some devices object go off the screen.

Object have to be in viewport all the time.

Please can you help me with this?

1 Like

I’m not quite sure I’m grasping your problem correctly, but you can control the motion of a model on a space curve.

Have a look at the code of the examples from the Collection of examples from