Difference between revisions of "B2.Body:getLinearDamping"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.2.2<br/> === Description === <br /> Returns the linear damping of the body. <br /> <br /> <source lang="lua"> (number), = b2.Body...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number), = b2.Body:getLinearDamping()
+
(number) = b2.Body:getLinearDamping()
 
</source>
 
</source>
 
'''Returns''' (number) The linear damping of the body<br/>
 
'''Returns''' (number) The linear damping of the body<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2012.2.2

Description


Returns the linear damping of the body.

(number) = b2.Body:getLinearDamping()

Returns (number) The linear damping of the body