Skip to content

A project to implement the concept of Projectile-Motion and the physics properties required to achieve the desired motion of a projectile.

License

Notifications You must be signed in to change notification settings

Siddharth-2077/Projectile_Motion-Unity3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Projectile Motion - Unity3D

  • A project to implement the concept of Projectile-Motion and the physics properties required to achieve the desired motion of a projectile.

  • More specifically, this project deals with the calculation of the angle required to launch a projectile such that it hits the desired target, in this case the player which is a tank.

Angle θ required to hit coordinate (x, y):

To hit a target at range x and altitude y when fired from (0, 0) and with initial speed v the required angle(s) of launch θ are:

Projectile_Equation

The two roots of the equation correspond to the two possible launch angles, so long as they aren't imaginary.
If the roots happen to be imaginary, the initial speed is not great enough to reach the point (x, y) selected.

This formula allows one to find the angle of launch needed without the restriction of y = 0.

Gameplay Screenshot
Gameplay Screenshot

About

A project to implement the concept of Projectile-Motion and the physics properties required to achieve the desired motion of a projectile.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages