Is there some built in way to find the velocity of an object? Was hoping to build in a maximum velocity and variable impulse for my spaceship game but was having trouble finding out whether or not an object was moving in space.
Currently using cannon.js for the physics engine. Apparently if you use cannon with Three.js you can just do object.velocity.y or object.velocity.norm() but it doesn't seem to work in babylon.