Difference between revisions of "B2.DistanceJoint:getFrequency"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
m (Text replacement - "<source" to "<syntaxhighlight")
 
Line 6: Line 6:
 
=== Description ===
 
=== Description ===
 
Returns the mass-spring-damper frequency of this distance joint in Hertz.
 
Returns the mass-spring-damper frequency of this distance joint in Hertz.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = b2.DistanceJoint:getFrequency()
 
(number) = b2.DistanceJoint:getFrequency()
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 18:22, 12 July 2023


Available since: Gideros 2011.6
Class: b2.DistanceJoint

Description

Returns the mass-spring-damper frequency of this distance joint in Hertz.

(number) = b2.DistanceJoint:getFrequency()

Return values

Returns (number) the mass-spring-damper frequency in Hertz.




LiquidFun