ID:272186
 
i would like to know how to make a gravity code, thanks :)
Like...DBZ gravity or some other gravity?
If you are looking for trajectory, try these simple formulas. Given the initial velocity, angle, and time, they yield the z hight and x distance. Be sure to terminate your loop when time reaches the time of flight.