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
Our educational partners
Free education resources to use in the classroom
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
Is it possible to get the speed of a physics object?
For example, the speed of a falling object or the speed of a object that get hit by another object and then change direction? I only want to return the speed (in numbers if possible... like pixels per second for example)
I am not sure if this is even possible...
Develop games in your browser. Powerful, performant & highly capable.
That's the speed, negative means going towards left.
object.physics.VelocityX and object.physics.VelocityY, and if you need overall velocity, use this expression:
distance(0, 0, object.physics.VelocityX, object.physics.VelocityY)