Add RevoluteJoint:getMaxMotorTorque

--HG--
branch : box2d-update
This commit is contained in:
Bill Meltsner
2011-09-29 11:12:03 -04:00
parent c5cd6d709b
commit 53cdd0ea7d
4 changed files with 19 additions and 0 deletions
@@ -91,6 +91,11 @@ namespace box2d
**/
float getMotorTorque(float inv_dt) const;
/**
* Get the maximum motor torque, usually in N-m.
**/
float getMaxMotorTorque();
/**
* Enable/disable the joint limit.
**/