Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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 ?
Develop games in your browser. Powerful, performant & highly capable.
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.
It works perfectly, thank you !