B2.DistanceJoint:getFrequency: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "<source" to "<syntaxhighlight"
 
(One intermediate revision by the same user not shown)
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()
</source>
</syntaxhighlight>


=== Return values ===
=== Return values ===

Latest revision as of 16: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