B2.DistanceJoint:getFrequency: Difference between revisions
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. | ||
< | <syntaxhighlight lang="lua"> | ||
(number) = b2.DistanceJoint:getFrequency() | (number) = b2.DistanceJoint:getFrequency() | ||
</syntaxhighlight> | </syntaxhighlight> | ||
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.