Home

examples/three/content/EulerThreejs.js

Summary.

Controls the orientation of an airplane using Euler angles, and it is slightly based on example Euler.js

Note that to use our preferred convention of intrinsic Yaw (Head)-Pitch-Roll, we have to explicitly set the rotation order in the Three.js holder object to YXZ. Three.js uses intrinsic Tait-Bryan angles. This means that rotations are performed with respect to the local coordinate system.

For order XYZ, the three rotations are executed:

  1. first around the local-X axis (which is the same as the world-X axis),
  2. then around local-Y (which may now be different from the world Y-axis),
  3. then local-Z (which may be different from the world Z-axis).

A more recent version @163 of Three.js was chosen to update the airplane and the pilot, which were taken from:

Since:
  • 10/11/2014
Author:
Source:
See:

threejs-examples/ExportToGLTF.1.js