Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
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 ?
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 !