B2.Body:setLinearDamping: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Available since:''' Gideros 2012.2.2<br/> | '''Available since:''' Gideros 2012.2.2<br/> | ||
=== Description === | === Description === | ||
<br /> | <translate><br /> | ||
Sets the linear damping of the body. <br /> | Sets the linear damping of the body. <br /> | ||
<br /> | <br /></translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
b2.Body:setLinearDamping(linearDamping) | b2.Body:setLinearDamping(linearDamping) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
'''linearDamping''': (number) new linear damping of the body <br/> | '''linearDamping''': (number) <translate>new linear damping of the body</translate> <br/> | ||
Revision as of 12:33, 23 August 2018
Available since: Gideros 2012.2.2
Description
Sets the linear damping of the body.
b2.Body:setLinearDamping(linearDamping)
Parameters
linearDamping: (number) new linear damping of the body