getzel Posted November 20, 2016 Share Posted November 20, 2016 Hello, It seems that the mesh has the method lookAt() but the rotation is then expressed in quaternions and euler angles remain at 0 with mesh.rotation Although camera has the method setTarget. It does the same thing but the classic rotation is given. I know how to manage that in my project. (With atan2 or get the rotationQuaternion angles) But I ask : is there a reason for this difference in classes ? Do you plan to integrate a setTarget method in meshes ? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.