B2.Body:getLinearDamping: 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 />
Returns the linear damping of the body. <br />
Returns the linear damping of the body. <br />
<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
(number) = b2.Body:getLinearDamping()
(number) = b2.Body:getLinearDamping()
</source>
</source>
=== Return values ===
=== Return values ===
'''Returns''' (number) The linear damping of the body<br/>
'''Returns''' (number) <translate>The linear damping of the body</translate><br/>

Revision as of 12:34, 23 August 2018

Available since: Gideros 2012.2.2

Description


Returns the linear damping of the body.

(number) = b2.Body:getLinearDamping()

Return values

Returns (number) The linear damping of the body