- #1
zarcon
- 3
- 0
Hi all! I am having trouble understanding how to create a simulation of a spinning rigid body.
For each axis x, y, and z I have an angle and an angular velocity.
To rotate the object each axis is rotated independently - first the rotation about the x-axis followed by the rotation about the z- axis, then the rotation about the y-axis.
I really don't think this gives an accurate representation of the way the object would spin. for example - If the x and z angular velocities are equal and the y angular velocity is zero, I imagine that would result in a rotation about a diagonal axis in the xz plane. Instead the object essentially wobbles, never quite flipping over.
Is there a way to calculate an arbitrary axis of rotation from 3 anglular velocities? or even 2 angular velocities?
I hope i explained this okay, if anyone who has had experience doing this could offer some guidance, I would really apprectiate it.
Thanks!
Jonathan
For each axis x, y, and z I have an angle and an angular velocity.
To rotate the object each axis is rotated independently - first the rotation about the x-axis followed by the rotation about the z- axis, then the rotation about the y-axis.
I really don't think this gives an accurate representation of the way the object would spin. for example - If the x and z angular velocities are equal and the y angular velocity is zero, I imagine that would result in a rotation about a diagonal axis in the xz plane. Instead the object essentially wobbles, never quite flipping over.
Is there a way to calculate an arbitrary axis of rotation from 3 anglular velocities? or even 2 angular velocities?
I hope i explained this okay, if anyone who has had experience doing this could offer some guidance, I would really apprectiate it.
Thanks!
Jonathan