Difference between revisions of "B2.DistanceJoint:getFrequency"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
(2 intermediate revisions by 2 users 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 === | ||
− | '''Returns''' (number) | + | '''Returns''' (number) the mass-spring-damper frequency in Hertz.<br/> |
{{B2.DistanceJoint}} | {{B2.DistanceJoint}} |
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.