|
At first look at flying Elephant (6.4kb you will
fly with Elephant if you choose the "Fly" viewpoint :)
Flight Interpolator PROTO.
Cardinal splines curve C(t) can be used for a JavaScript Spline PositionInterpolator PROTO "node" (see also Spline PositionInterpolator Demo with control points and path). For flight animation we need to set orientation of our model (airplane) next.
The tangent direction N for a Bezier spline curve is
|
As since an orientation (rotation) object includes axis and angle of rotation (a vector and a number) therefore one can easy make Spline OrientationIterpolator PROTO for viewpoint (camera) animation if the linear OrientationIterpolator node is not enough.