Difference between revisions of "B2.PrismaticJoint:setLimits"

From GiderosMobile
Line 8: Line 8:
 
  b2.PrismaticJoint:setLimits(lower,upper)
 
  b2.PrismaticJoint:setLimits(lower,upper)
 
</source>
 
</source>
'''lower''': (number) lower joint limit in meters ''''''<br/>
+
=== Parameters ===
'''upper''': (number) upper joint limit in meters ''''''<br/>
+
'''lower''': (number) lower joint limit in meters <br/>
 +
'''upper''': (number) upper joint limit in meters <br/>

Revision as of 10:46, 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