I am trying to achieve the same rotational effect like Maya in my project. I have some knowledge on quaternions and the trackball example.
I have an object w/ and orientation and the rotational rates about each of the body axis.I need to find a smooth transition from this state to a second state with a different set of rates.Additionally
I\'m experimenting with using axis-angle vectors for rotations in my hobby game engine.This is a 3-component vector along the axis of rotation with a length of the rotation in radians.I like them beca
I have the orientation of an object stored as a unit quaternion, and I want to see what angle the object\'s local x axis makes with the global y axis.What\'s the easiest way t开发者_开发技巧o do that?
I\'m having trouble finding any good information on this topic. Basically I want to find the component of a q开发者_JAVA技巧uaternion rotation, that is around a given axis (not necessarily X, Y or Z -
Given a quaternion q, and three 3D vectors (vx, vy, vz) which form coordinate axes, which can be oriented in arbitrary direction, but are all perpendicular to each other, thus forming a 3d space.
Given an object quaternion q, and basis vectors vx, vy, vz forming a 3D space, how can I check whether the quaternion is parallel or perpendicular to all of the basis vectors?
开发者_运维问答How can I efficiently limit camera pitch when I have only camera quaternion? Do I have to convert to euler angles and then back to quaternion or is there any other way?If the camera nev
Im trying to do a simple rotation of a cube about the x and y axis: I want to always rotate the cube over the x axis by an amount x
When I have a QUAD at a certain position, how can I rotate it in such a way that its normal points toward a given point? Imagine the colored blocks are just rectangular quads, then this image shows a