Difference between revisions of "B2.DistanceJoint:getDampingRatio"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
m (Text replacement - "<source" to "<syntaxhighlight")
 
Line 6: Line 6:
 
=== Description ===
 
=== Description ===
 
Returns the damping ratio of this distance joint.
 
Returns the damping ratio of this distance joint.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = b2.DistanceJoint:getDampingRatio()
 
(number) = b2.DistanceJoint:getDampingRatio()
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 17:08, 12 July 2023


Available since: Gideros 2011.6
Class: b2.DistanceJoint

Description

Returns the damping ratio of this distance joint.

(number) = b2.DistanceJoint:getDampingRatio()

Return values

Returns (number) the damping ratio of this distance joint




LiquidFun