You do not have to understand how Euler angles or quaternions work to do what you want. You can use
Object3D.rotateOnAxis( axis, angle );
Object3D.rotateOnWorldAxis( axis, angle );
Make sure axis
is a unit vector (has length 1), and angle
is in radians.
Object3D.rotateOnAxis( axis, angle )
rotates on an axis in object space.
Object3D.rotateOnWorldAxis( axis, angle )
rotates on an axis in world space.
three.js r.104
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…