![]() |
MainView and getEuler
Dear Vizard Staff,
I have a question I'm sure you'll be able to wrap up easily. I have a viewpoint being controlled by an XBox controller: Code:
When I try and use getEuler(), the values I get back do not match the actual orientation of the MainView. I've tried using the masks for the body and the head, however I still can not match the original orientation. Is there a method to concatenate the matrix transforms so I can get the final orientation value to save the orientation? |
It's hard to tell what the problem is without more information or sample code. Either way, I would recommend using quaternions (getQuat/setQuat) to save and restore orientations.
|
All times are GMT -7. The time now is 08:13 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC