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