Difference between revisions of "B2.DistanceJoint:setFrequency"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<languages /> | <languages /> | ||
− | ''' | + | '''Available since:''' Gideros 2011.6<br/> |
− | ''' | + | '''Class:''' [[Special:MyLanguage/b2.DistanceJoint|b2.DistanceJoint]]<br/> |
− | === | + | |
− | + | === Description === | |
− | Sets the mass-spring-damper frequency in Hertz. | + | Sets the mass-spring-damper frequency in Hertz. |
− | |||
<source lang="lua"> | <source lang="lua"> | ||
− | + | b2.DistanceJoint:setFrequency(frequency) | |
</source> | </source> | ||
− | === | + | |
− | '''frequency''': (number) | + | === Parameters === |
+ | '''frequency''': (number) the mass-spring-damper frequency in Hertz <br/> | ||
+ | |||
+ | {{B2.DistanceJoint}} |
Revision as of 08:31, 17 February 2020
Available since: Gideros 2011.6
Class: b2.DistanceJoint
Description
Sets the mass-spring-damper frequency in Hertz.
b2.DistanceJoint:setFrequency(frequency)
Parameters
frequency: (number) the mass-spring-damper frequency in Hertz