Need help learning about ballistic trajectory for a game

  • Thread starter sofakng
  • Start date
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?
 
1,675
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.
 
1,349
2
why don't you first tell us the equation your using.
 

Danger

Gold Member
9,564
244
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.
 

Related Threads for: Need help learning about ballistic trajectory for a game

Replies
6
Views
10K
  • Posted
Replies
3
Views
2K
Replies
2
Views
1K
Replies
3
Views
5K
Replies
3
Views
1K
  • Posted
Replies
5
Views
1K
Replies
9
Views
1K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top