B2.MouseJoint:getDampingRatio

From GiderosMobile
Revision as of 16:57, 12 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source" to "</syntaxhighlight")


Available since: Gideros 2011.6
Class: b2.MouseJoint

Description

Returns the damping ratio. 0 = no damping, 1 = critical damping. <source lang="lua"> (number) = b2.MouseJoint:getDampingRatio() </syntaxhighlight>

Return values

Returns (number) the damping ratio




LiquidFun