Difference between revisions of "B2.GearJoint:getRatio"

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

Revision as of 16:56, 12 July 2023


Available since: Gideros 2011.6
Class: b2.GearJoint

Description

Returns the gear ratio. <source lang="lua"> (number) = b2.GearJoint:getRatio() </syntaxhighlight>

Return values

Returns (number) the gear ratio




LiquidFun