B2.DistanceJoint:setLength: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
b2.DistanceJoint:setLength(length) | b2.DistanceJoint:setLength(length) | ||
</source> | </source> | ||
'''length''': (number) the length of this distance joint, usually in meters. | === Parameters === | ||
'''length''': (number) the length of this distance joint, usually in meters. <br/> | |||
Revision as of 09:45, 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)
Parameters
length: (number) the length of this distance joint, usually in meters.