B2.PulleyJoint:getRatio: Difference between revisions
From GiderosMobile
m Text replacement - "</source" to "</syntaxhighlight" |
m Text replacement - "<source" to "<syntaxhighlight" |
||
| Line 6: | Line 6: | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
Returns the pulley ratio. | Returns the pulley ratio. | ||
< | <syntaxhighlight lang="lua"> | ||
(number) = b2.PulleyJoint:getRatio() | (number) = b2.PulleyJoint:getRatio() | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 16:04, 12 July 2023
Available since: Gideros 2011.6
Class: b2.PulleyJoint
Description
Returns the pulley ratio.
(number) = b2.PulleyJoint:getRatio()
Return values
Returns (number) the pulley ratio