Difference between revisions of "B2.WeldJoint:setDampingRatio"
From GiderosMobile
Line 3: | Line 3: | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.WeldJoint|b2.WeldJoint]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/b2.WeldJoint|b2.WeldJoint]]<br/> | ||
+ | |||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
− | + | Sets damping ratio. | |
− | Sets damping ratio. | ||
− | |||
<source lang="lua"> | <source lang="lua"> | ||
− | + | b2.WeldJoint:setDampingRatio(damping) | |
</source> | </source> | ||
+ | |||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''damping''': (number) <translate>damping ratio</translate> <br/> | '''damping''': (number) <translate>damping ratio</translate> <br/> | ||
+ | |||
+ | {{B2.WeldJoint}} |
Revision as of 15:23, 18 February 2020
Available since: Gideros 2011.6
Class: b2.WeldJoint
Description
Sets damping ratio.
b2.WeldJoint:setDampingRatio(damping)
Parameters
damping: (number) damping ratio