Difference between revisions of "B2.DistanceJoint:getFrequency"
From GiderosMobile
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. | ||
− | < | + | <syntaxhighlight lang="lua"> |
(number) = b2.DistanceJoint:getFrequency() | (number) = b2.DistanceJoint:getFrequency() | ||
− | </ | + | </syntaxhighlight> |
=== Return values === | === Return values === |
Latest revision as of 17: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.