Gets the linear damping of the Body.

The linear damping is the ''rate of decrease of the linear velocity over time''. A moving body with no damping and no external forces will continue moving indefinitely, as is the case in space. A moving body with damping will gradually stop moving.


Damping is not the same as [[Fixture:setFriction|friction]] - they can be modelled together.

== Function ==
=== Synopsis ===
<source lang="lua">
damping = Body:getLinearDamping( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|damping|The value of the linear damping.}}
== See Also ==
* [[parent::Body]]
[[Category:Functions]]
{{#set:Description=Gets the linear damping of the Body.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Body:getLinearDamping}}