3D Trajectory Simulation
Kamil Saykali and Tom Handal
The 3D Trajectory Simulation project, written using the OpenGL graphics library, is a
simulation of the flight path of a projectile based on variables. The variables that this simulation
is based on are as follows:
➢ Initial Velocity
➢ Angle of Attack
➢ Vertical Acceleration (Gravity)
➢ Wind Drag
These variables are controlled by a Trajectory Control Panel, which allows the user of the
program to control the listed variables.
When the user is satisfied with the variable settings that they have selected, they can then
launch the projectile by pressing the “LAUNCH!!” button. The values can also be reset back to
defaults by pressing the “Reset Values” button.
While the projectile is in flight, the Velocity and Distance is displayed in real time in a
label under the Horizontal Acceleration (Wind) slide bar. The Velocity should remain constant
during flight, unless the wind drag variable is non-zero. A negative value for the Horizontal
Acceleration is a “wind” blowing left in the field of view and positive is a “wind” blowing to the
right.