So I'm trying to find a way of seeing how fast one of my physics objects, the player, is going. However it doesn't seem to be a 'speed' inbuilt to the physics object...
Thanks in before hand!
Develop games in your browser. Powerful, performant & highly capable.
Read the fabulous manual! https://www.scirra.com/manual/98/physics
[quote:3d26kf5y]VelocityX
VelocityY
The current speed of the physics object, in pixels per second.
Also from those expressions you can get the total speed with:
distance(0, 0, sprite.physics.velocityx, sprite.physics.velocityy)
You'll need to use system->compare or system->"pick by comparison" to compare it.
Thank you very much!