B2ENABLEJOINTLIMIT

This command will enable a limit on the specified joint.  The mass is a function of the object's size and density and determines how much it is affected by gravity.  The ID should be the integer handle of the joint.  An enable value of 0 will disable the limit, a 1 will enable it.  You can set the limit using b2SetJointLimit.

 

Syntax

b2EnableJointLimit ID as Integer, Enable as Dword

Related Information

BOX2D Commands Menu
Index