Difference between revisions of "B2.Body:setLinearDamping"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.2.2<br/>
+
'''<translate>Available since</translate>:''' Gideros 2012.2.2<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Sets the linear damping of the body. <br />
 
Sets the linear damping of the body. <br />
Line 8: Line 8:
 
  b2.Body:setLinearDamping(linearDamping)
 
  b2.Body:setLinearDamping(linearDamping)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''linearDamping''': (number) <translate>new linear damping of the body</translate> <br/>
 
'''linearDamping''': (number) <translate>new linear damping of the body</translate> <br/>

Revision as of 07:29, 24 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