Can't get object velocity ( can set it OK )

There are setters for a number of physics items, but no getters.

Info from browser when debugging

Info from docs

Use case: In my project, I need to know when an object has settled, so I need to get the linear and angular velocity of the object.

As well as setLinearVelocity, I need a getLinearVelocity.

A setAngularVelocity would be handy too.

Basically, if there is a setter for something useful, have a getter :+1:

Great suggestion!

I’m not sure if there’s a built in solution, worst case scenario you can calculate it manually by taking the current position and subtracting the previous position and dividing the result by the time required for it to change.