PDA

Click to See Complete Forum and Search --> : Trajectory-=-needed code for a game!


Trevor C
Mar 19th, 2000, 09:40 AM
I need help from some of you mathematicians out there.

Heres the deal:

I want the user to select the angle and the power.
Then when the push the fire button an object follows the angle path while taking into consideration gravity and possibly wind. This would be at a 2d looking angle. Like scorched earth!

If anybody could help it would be great. I have a skeletal code for this that I myself have done but its slow and does not work good. Plus its in radians! And I cant figure out how to convert it into degrees! PLEASE HELP!

Thanks in advance.

Trevor jttbird@earthdome.com

KENNNY
Mar 20th, 2000, 05:51 AM
I can't help you myself, but there's a tutorial over at Voodoo VB:
http://www.redrival.com/voodoovb/