how to rotate the scene node by absolute quaternion value
Posted: Sat Apr 15, 2017 8:09 am
Hi, I am a new in irrlicht, I am work on a project which can get the absolute quaternion value by the gyro, I have to rotate the scene node by the quaternion.
but now I have a issue ,the gyro gives the absolute quaternion value , it means the value is not releative to last quaternion value.
but in irrlicht the scene node rotate in the foundation of last rotation.
so I wonder anyone can help me to rotate the scene node by setRotation(const core::vector3df& rotation)
Thanks
but now I have a issue ,the gyro gives the absolute quaternion value , it means the value is not releative to last quaternion value.
but in irrlicht the scene node rotate in the foundation of last rotation.
so I wonder anyone can help me to rotate the scene node by setRotation(const core::vector3df& rotation)
Thanks