We help IT Professionals succeed at work.

Physics with C (Scorched Earth, Worms Gorilla.bas style!)

ccheek
ccheek asked
on
Medium Priority
423 Views
Last Modified: 2008-01-16
Disclaimer: This really isan't a C question, but as there is
no Physics question group, i'm not going to get too fussed.

I need some tips on how to plot points like in the games mentiond above. If you are one that doesn't play games, i require some pseudo code to plot a 'bomb' that was fired
from a statonary 'battle tank', the code NEEDS to use
the math functions 'cos' and 'sin' and to take into account wind, gravity etc etc. This is not a uni project, just something i'm slowly working at in my spare time.

And before you ask...
Yes, i skipped Physics when i was young. :-|

Thanks,
Chris.
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks for providing an in depth answer JYoungman, i still have a couple of problems with
the program, but your answer has put me onto the right track so im awarding you the points.

Chris.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.