Difference between revisions of "B2.DistanceJoint:getFrequency"
From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight") |
|||
Line 8: | Line 8: | ||
<source lang="lua"> | <source lang="lua"> | ||
(number) = b2.DistanceJoint:getFrequency() | (number) = b2.DistanceJoint:getFrequency() | ||
− | </ | + | </syntaxhighlight> |
=== Return values === | === Return values === |
Revision as of 16:35, 12 July 2023
Available since: Gideros 2011.6
Class: b2.DistanceJoint
Description
Returns the mass-spring-damper frequency of this distance joint in Hertz. <source lang="lua"> (number) = b2.DistanceJoint:getFrequency() </syntaxhighlight>
Return values
Returns (number) the mass-spring-damper frequency in Hertz.