Difference between revisions of "B2.RevoluteJoint:setLimits"
From GiderosMobile
Line 8: | Line 8: | ||
b2.RevoluteJoint:setLimits(lower,upper) | b2.RevoluteJoint:setLimits(lower,upper) | ||
</source> | </source> | ||
− | '''lower''': (number) lower joint limit in radians | + | === Parameters === |
− | '''upper''': (number) upper joint limit in radians | + | '''lower''': (number) lower joint limit in radians <br/> |
+ | '''upper''': (number) upper joint limit in radians <br/> |
Revision as of 10:40, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the joint limits in radians.
b2.RevoluteJoint:setLimits(lower,upper)
Parameters
lower: (number) lower joint limit in radians
upper: (number) upper joint limit in radians