Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need some advanced 3d help...
#1
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
[Image: freebasic.png]
Reply
#2
Convert your rectangular coordinates to spherical and get the magnitudes. ;*)
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#3
[Image: Spheric.jpg]

What rel said ^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)