Qbasicnews.com

Full Version: Need some advanced 3d help...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For my project for school, I need to be able to find the x, y, and z speeds of an object given rotation around the x, y, and z axis. If it wasn't for the z rotation, it would be quite easy. However, this rotation makes it a lot more complicated and I have had troubles deriving it myself. I would prefer if you explained it (or gave a link, links are good Smile) rather than just giving me formulas. Thanks a lot. Smile

edit: just in case it matters, I am using opengl. With this, having all rotations at zero results at zspeed = speed and yspeed = 0 and xspeed =0
Convert your rectangular coordinates to spherical and get the magnitudes. ;*)
[Image: Spheric.jpg]

What rel said ^^