Difference between revisions of "B2.DistanceJoint:setLength"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets the natural length. Manipulating the length can lead to non-physical behavior when the fre...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | b2.DistanceJoint:setLength(length) | |
</source> | </source> | ||
− | '''length | + | '''length''': (number) the length of this distance joint, usually in meters. ''''''<br/> |
Revision as of 10:21, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the natural length. Manipulating the length can lead to non-physical behavior when the frequency is zero.
b2.DistanceJoint:setLength(length)
'length: (number) the length of this distance joint, usually in meters. '