B2.MouseJoint:getDampingRatio
From GiderosMobile
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