Difference between revisions of "B2.MouseJoint:getDampingRatio"

From GiderosMobile
Line 8: Line 8:
 
(number) = b2.MouseJoint:getDampingRatio()
 
(number) = b2.MouseJoint:getDampingRatio()
 
</source>
 
</source>
 +
=== Return values ===
 
'''Returns''' (number) The damping ratio<br/>
 
'''Returns''' (number) The damping ratio<br/>

Revision as of 10:44, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the damping ratio. 0 = no damping, 1 = critical damping.

(number) = b2.MouseJoint:getDampingRatio()

Return values

Returns (number) The damping ratio