A getMass command would be useful for many things and would appear (on the surface) to be a simple addition.
- It compliments the setMass function, allowing mission designers to get, modify then set a new mass of an object for whatever reason they may need.
- It removes the need to access a static config value when looking for the mass of an object
- Combined with setVelocity (and sleep), it can be used to apply an impulse of a specific force for any dynamically chosen object, which may or may not have a modified mass.
Plus many more possibilities that mission designers and modders could think up.