Nabroski Posted July 9, 2018 Share Posted July 9, 2018 Simple: I need the Rotation Matrix from the default Arcrotate Camera. I read somewhere in the forum, i need to decompose the Camera Matrix, i can' t find it anymore. Subquestion: It is possible to grab the data via mouseevents ? Thanks' Playground: https://www.babylonjs-playground.com/#SQP9E0 Quote Link to comment Share on other sites More sharing options...
Guest Posted July 9, 2018 Share Posted July 9, 2018 Hello! you can just get camera.getWorldMatrix() and remove the content of the last line (the translation). Nabroski 1 Quote Link to comment Share on other sites More sharing options...
Nabroski Posted July 9, 2018 Author Share Posted July 9, 2018 pretty neat! Great. Thank you ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.