Difference between revisions of "B2.MouseJoint:getDampingRatio"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Returns the damping ratio. 0 = no damping, 1 = critical damping. <br />
 
Returns the damping ratio. 0 = no damping, 1 = critical damping. <br />
Line 8: Line 8:
 
(number) = b2.MouseJoint:getDampingRatio()
 
(number) = b2.MouseJoint:getDampingRatio()
 
</source>
 
</source>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>The damping ratio</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>The damping ratio</translate><br/>

Revision as of 07:29, 24 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