Need help learning about ballistic trajectory for a game

Click For Summary
The discussion focuses on developing an algorithm for calculating ballistic trajectory in a game clone of Scorched Earth, specifically addressing the challenges of incorporating gravity and wind resistance. The original poster has created a basic projectile trajectory algorithm but is uncertain about its accuracy and lacks knowledge of physics. Participants suggest sharing the current equation used for better assistance and reference previous threads with useful resources. A recommendation is made to check out a detailed website provided by a user named Pervect, which may offer comprehensive answers. Overall, the conversation emphasizes the need for accurate physics in game development and the importance of reliable resources for learning.
sofakng
Messages
1
Reaction score
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?
 
Physics news on Phys.org
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.
 
why don't you first tell us the equation your using.
 
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.
 

Similar threads

Replies
3
Views
8K
  • · Replies 36 ·
2
Replies
36
Views
22K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
6K
Replies
6
Views
6K