Need help learning about ballistic trajectory for a game

Click For Summary

Discussion Overview

The discussion revolves around the calculation of ballistic trajectory for a game, specifically focusing on the effects of gravity and wind resistance. Participants are seeking guidance on algorithms and resources to improve their understanding of the physics involved in projectile motion.

Discussion Character

  • Exploratory, Technical explanation, Homework-related

Main Points Raised

  • One participant mentions having created an algorithm for projectile trajectory that includes gravity but is uncertain about its correctness and lacks wind resistance considerations.
  • Another participant suggests a book titled "The Physics of Gaming" or "Physics for Game Programmers" as a potential resource for learning.
  • A request is made for the specific equation being used in the current algorithm to facilitate further discussion.
  • A participant references previous threads on the topic and directs attention to a detailed site provided by another user, suggesting it may address the questions raised.

Areas of Agreement / Disagreement

There is no consensus on the correctness of the current algorithm or the specific equations being used, and multiple viewpoints on resources and approaches are presented.

Contextual Notes

Participants have not provided specific details about the equations or algorithms in use, which may limit the ability to offer targeted advice.

Who May Find This Useful

Individuals interested in game development, particularly those focusing on physics simulations and projectile motion in gaming contexts.

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 10 ·
Replies
10
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
23K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
5K
Replies
2
Views
3K