Reputation: 63
I'm getting Euler angle value from Threejs to unity3d. But im facing problem those are not working good. Because Unity3D is left handed with +z, but Threejs is right handed coordinates with -z.
How can solve this problem. can any one you give the suggestions.
Upvotes: 4
Views: 685
Reputation: 456
You can solve this by inverting the Y rotation. If you also want to convert the position, invert the X axis
yRotationUnity=-yRotationThreeJS;
xUnity=-xThreeJS;
Upvotes: 2