Difference between revisions of "B2.RevoluteJoint:getLimits"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
Line 8: Line 8:
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number) = b2.RevoluteJoint:getLimits()
 
(number), (number) = b2.RevoluteJoint:getLimits()
</source>
+
</syntaxhighlight>
  
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===

Revision as of 16:40, 12 July 2023


Available since: Gideros 2011.6
Class: b2.RevoluteJoint

Description

Returns the lower and upper joint limit in radians. <source lang="lua"> (number), (number) = b2.RevoluteJoint:getLimits() </syntaxhighlight>

Return values

Returns (number) lower joint limit in radians
Returns (number) upper joint limit in radians




LiquidFun