Hi !
Simple question : I have two points : A and B.
My bullet has a speed of 0 at start and an acceleration of let say, 300.
It starts at A and I want to know when it will reach B.
Any idea how to calculate this ?
Assuming acceleration remains constant, then the time from A to B should be:
time = sqrt( (2 * (Distance from A to B)) / Acceleration )[/code:1b7tam1d] Which is obtained by taking the second integral of the acceleration -- 300, in this case -- and solving for time.
Develop games in your browser. Powerful, performant & highly capable.
It works perfectly, thank you !