Difference between revisions of "R3d.Body:getLinearDamping"

From GiderosMobile
m
m (Text replacement - "<source" to "<syntaxhighlight")
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
Gets the body linear damping. Damping is the effect of reducing the velocity of the rigid body during the simulation (like air friction for instance).
 
Gets the body linear damping. Damping is the effect of reducing the velocity of the rigid body during the simulation (like air friction for instance).
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = r3d.Body:getLinearDamping()
 
(number) = r3d.Body:getLinearDamping()
 
</source>
 
</source>

Revision as of 15:30, 13 July 2023