How to Calculate Bullet Trajectory and Distance in Game Development?

In summary, TheDominis is looking for help with calculating bullet trajectory and distance for a game. They are advised to look into the basic laws of motion and referred to a helpful resource for formulas and relationships.
  • #1
TheDominis
2
0
I'm not sure if this is the correct area to post, but I figure if I'm wrong it'll be moved or something.

I'm working on a game and I need some help with calculating bullet trajectory. I need a formula for where the bullet will be at a certain time based off of the angle it is shot from, power, and anything else I might need. Also I need a formula for calculating the distance the bullet will travel. Any help would be much appreciated.

-TheDominis
 
Physics news on Phys.org
  • #2
Have a quick google for some of the basic laws of motion. You'll easily find some very common relationships for distance and time in terms of speed, acceleration and gravity.
 
  • #3
TheDominis said:
I'm not sure if this is the correct area to post, but I figure if I'm wrong it'll be moved or something.

I'm working on a game and I need some help with calculating bullet trajectory. I need a formula for where the bullet will be at a certain time based off of the angle it is shot from, power, and anything else I might need. Also I need a formula for calculating the distance the bullet will travel. Any help would be much appreciated.

-TheDominis

This is probably your best bet:

http://hyperphysics.phy-astr.gsu.edu/hbase/traj.html

CS
 

What are ballistics calculations?

Ballistics calculations are mathematical calculations used to predict the flight path of a projectile, such as a bullet, based on factors such as velocity, angle of launch, and environmental conditions.

What factors are considered in ballistics calculations?

The main factors considered in ballistics calculations include the initial velocity of the projectile, the angle of launch, the weight and shape of the projectile, the air resistance, and the effects of gravity.

Why are ballistics calculations important?

Ballistics calculations are important for accurately predicting the trajectory of a projectile, which is essential for marksmanship, hunting, and military operations. They also play a crucial role in forensic investigations and crime scene reconstruction.

How are ballistics calculations performed?

Ballistics calculations are typically performed using mathematical equations and computer simulations. These calculations take into account the various factors that affect the flight of a projectile and can provide accurate predictions of its trajectory.

What are some applications of ballistics calculations?

Ballistics calculations have a wide range of applications, including military and law enforcement operations, hunting and shooting sports, and forensic investigations. They are also used in the design and testing of firearms and ammunition.

Similar threads

Replies
3
Views
4K
Replies
19
Views
3K
Replies
23
Views
974
Replies
2
Views
4K
  • Mechanical Engineering
Replies
15
Views
421
  • Mechanics
Replies
3
Views
5K
Replies
22
Views
44K
Replies
9
Views
253
Replies
2
Views
837
Back
Top