Need help learning about ballistic trajectory for a game

  • Thread starter sofakng
  • Start date
  • #1
sofakng
1
0
Me and a friend are trying to write a Scorched Earth game clone and we're trying to figure out an algorithm to calculate ballistic trajectory (factoring in gravity and wind).

I'm not very good at physics what-so-ever, but I've managed to make an algorithm for projectile trajectory (with gravity) from this page but it doesn't factor in wind resistance and I'm not sure the gravity part of the equation is even correct.

Can anybody point me in the right direction on learning about this kind of stuff?
 

Answers and Replies

  • #2
Antiphon
1,683
3
I saw book at the bookstore called "The Physics of Gaming" or "Physics for Game Programmers" or something similar to that. It should still be around at any major book store.
 
  • #3
neurocomp2003
1,366
3
why don't you first tell us the equation your using.
 
  • #4
Danger
Gold Member
9,756
253
sofakng said:
Can anybody point me in the right direction on learning about this kind of stuff?
There've been a couple of previous threads dealing with this. I direct you to this one as the most recent. Part-way down, Pervect has provided a link to a very detailed site that can probably handle all of your questions.
 

Suggested for: Need help learning about ballistic trajectory for a game

Replies
1
Views
244
  • Last Post
Replies
10
Views
281
Replies
34
Views
551
Replies
3
Views
1K
Replies
0
Views
127
  • Last Post
Replies
4
Views
540
Replies
5
Views
136
Replies
4
Views
364
Top