Curve as a path for moving a mesh

I have 3d model of dragon. I want to make a path for him to fly in one page website. On scroll event dragon should fly to the next point upside down.I have 6 screens and 6 points. When he arrives, he should rotate so that his head is up. Which is the easiest way to do it? Everything I’ve tried so far has flickered.

You can let it fly on a CatmullRomCurve3. By specifying a Local System (e1,e2,e3) at selected points you can determine its position in space.

Quaternion - method .setFromBasis( e1, e2, e3 )

See from the Collection of examples from discourse.threejs.org

FlightRouteQuaternion
BasisToQuaternion
CarRacingQuaternion

BeginnerExample step 15

1 Like