B2.Body:setLinearDamping: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2012.2.2<br/> === Description === <br /> Sets the linear damping of the body. <br /> <br /> <source lang="lua"> = b2.Body:setLinearDam..." |
No edit summary |
||
| Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
b2.Body:setLinearDamping(linearDamping) | |||
</source> | </source> | ||
'''linearDamping | '''linearDamping''': (number) new linear damping of the body ''''''<br/> | ||
Revision as of 09:17, 23 August 2018
Available since: Gideros 2012.2.2
Description
Sets the linear damping of the body.
b2.Body:setLinearDamping(linearDamping)
'linearDamping: (number) new linear damping of the body '