B2.RevoluteJoint:setLimits: Difference between revisions

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..."
 
No edit summary
Line 6: Line 6:
<br />
<br />
<source lang="lua">
<source lang="lua">
= b2.RevoluteJoint:setLimits(lowerupper,)
b2.RevoluteJoint:setLimits(lower,upper)
</source>
</source>
'''lower:''' (number) lower joint limit in radians ''''''<br/>
'''lower''': (number) lower joint limit in radians ''''''<br/>
'''upper:''' (number) upper joint limit in radians ''''''<br/>
'''upper''': (number) upper joint limit in radians ''''''<br/>

Revision as of 09: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 '