B2.GearJoint:getRatio
From GiderosMobile
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