Get euler rotation from Quaternion?

后端 未结 1 519
抹茶落季
抹茶落季 2021-02-15 13:34

I\'m using FlyControls for moving and rotation my plane (I\'m doing a flight sim), and it works pretty well. However now I have ran into a problem where one possible solution wo

1条回答
  •  星月不相逢
    2021-02-15 14:08

    var rotation = new THREE.Euler().setFromQuaternion( quaternion, eulerOrder );
    

    three.js r.69

    0 讨论(0)
提交回复
热议问题