Difference between revisions of "B2.Body:setLinearDamping"

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...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= b2.Body:setLinearDamping(linearDamping,)
+
b2.Body:setLinearDamping(linearDamping)
 
</source>
 
</source>
'''linearDamping:''' (number) new linear damping of the body ''''''<br/>
+
'''linearDamping''': (number) new linear damping of the body ''''''<br/>

Revision as of 10: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 '