Difference between revisions of "B2.PrismaticJoint: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, usually in meters. <br /> | Sets the joint limits, usually in meters. <br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
b2.PrismaticJoint:setLimits(lower,upper) | b2.PrismaticJoint:setLimits(lower,upper) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''lower''': (number) lower joint limit in meters <br/> | + | '''lower''': (number) <translate>lower joint limit in meters</translate> <br/> |
− | '''upper''': (number) upper joint limit in meters <br/> | + | '''upper''': (number) <translate>upper joint limit in meters</translate> <br/> |
Revision as of 13:34, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the joint limits, usually in meters.
b2.PrismaticJoint:setLimits(lower,upper)
Parameters
lower: (number) lower joint limit in meters
upper: (number) upper joint limit in meters