Dad72 Posted February 26, 2014 Share Posted February 26, 2014 Hello, I would like to convert the values (XYZ) of rotationQuaternion in rotation on an object. How is it the conversion please? By this that when I turned an object with rotationquaternion , the rotation value of the object remains at zero. Why? Is this a bug? Thanks Quote Link to comment Share on other sites More sharing options...
panpsychist Posted February 26, 2014 Share Posted February 26, 2014 Depending on what language you are using there are already good library for all quaternion functions.E.g. http://www.boost.org/doc/libs/1_37_0/libs/math/doc/quaternion/html/index.htmlhttp://www.euclideanspace.com/maths/algebra/realNormedAlgebra/quaternions/index.htmIt's more a question in a maths, gaming or stack overflow type question. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 26, 2014 Author Share Posted February 26, 2014 These are the mathematical that I do not understand. I have reviewed the code to use the rotation directly rather than rotationQuaternion. because when we used Quaternion, the rotation of the object does not appear updated. She stays at zero. 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.