Difference between revisions of "R3d.Body:getLinearDamping"

From GiderosMobile
m
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
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>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 14:31, 13 July 2023