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:
- first around the local-X axis (which is the same as the world-X axis),
- then around local-Y (which may now be different from the world Y-axis),
- 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
- Source:
- See: