Difference between revisions of "B2.RevoluteJoint:setLimits"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Sets the joint limits in radians. <br />
 
Sets the joint limits in radians. <br />
Line 8: Line 8:
 
  b2.RevoluteJoint:setLimits(lower,upper)
 
  b2.RevoluteJoint:setLimits(lower,upper)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''lower''': (number) <translate>lower joint limit in radians</translate> <br/>
 
'''lower''': (number) <translate>lower joint limit in radians</translate> <br/>
 
'''upper''': (number) <translate>upper joint limit in radians</translate> <br/>
 
'''upper''': (number) <translate>upper joint limit in radians</translate> <br/>

Revision as of 07:30, 24 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