Difference between revisions of "B2.RopeJoint:setMaxLength"
From GiderosMobile
Line 3: | Line 3: | ||
'''<translate>Available since</translate>:''' Gideros 2012.09.3<br/> | '''<translate>Available since</translate>:''' Gideros 2012.09.3<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.RopeJoint|b2.RopeJoint]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/b2.RopeJoint|b2.RopeJoint]]<br/> | ||
+ | |||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
− | + | Sets the maximum length of the rope. | |
− | Sets the maximum length of the rope. | ||
− | |||
<source lang="lua"> | <source lang="lua"> | ||
− | + | b2.RopeJoint:setMaxLength(maxLength) | |
</source> | </source> | ||
+ | |||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
− | '''maxLength''': (number) <translate></translate> <br/> | + | '''maxLength''': (number) <translate>maximum rope lenght</translate> <br/> |
+ | |||
+ | {{B2.RopeJoint}} |
Revision as of 13:16, 18 February 2020
Available since: Gideros 2012.09.3
Class: b2.RopeJoint
Description
Sets the maximum length of the rope.
b2.RopeJoint:setMaxLength(maxLength)
Parameters
maxLength: (number) maximum rope lenght