Convert Unity transforms to THREE.js rotations

后端 未结 3 1485
死守一世寂寞
死守一世寂寞 2021-02-10 01:53

How can I match the rotation of a THREE.js camera or object to a transform from a Unity GameObject?

Unity uses a left-handed system with a ZXY euler order. THREE.js uses

3条回答
  •  时光说笑
    2021-02-10 02:40

    If you convert both rotations to Quaternions, I think the difference is a -1 scale on the X axis.

提交回复
热议问题