Difference between revisions of "B2.RevoluteJoint:setLimits"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Sets the joint limits in radians. <br /> | Sets the joint limits in radians. <br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
b2.RevoluteJoint:setLimits(lower,upper) | b2.RevoluteJoint:setLimits(lower,upper) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''lower''': (number) lower joint limit in radians <br/> | + | '''lower''': (number) <translate>lower joint limit in radians</translate> <br/> |
− | '''upper''': (number) upper joint limit in radians <br/> | + | '''upper''': (number) <translate>upper joint limit in radians</translate> <br/> |
Revision as of 13:32, 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