View Single Post
  #7  
Old February 19th, 2004, 09:00 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: OT - math question.

y position is not height. Not sure what I was thinking with arc length, but you definitely need the angles associated with the vector from the starting point to the ending point. The relative height is just the z component of that vector.

Treating the movement as along a circle only works if the only component that is changing is the z component. If x or y change (but not both), then it is no longer a circle, but an ellipse.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote