R3d.Body:getAngularDamping: Difference between revisions

From GiderosMobile
mNo edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:


=== Description ===
=== Description ===
Gets the body angular damping. Damping is the effect of reducing the velocity of the rigid body during the sim-
Gets the body angular damping. Damping is the effect of reducing the velocity of the rigid body during the simulation (like air friction for instance).
ulation (like air friction for instance).
<syntaxhighlight lang="lua">
<source lang="lua">
(number) = r3d.Body:getAngularDamping()
(number) = r3d.Body:getAngularDamping()
</source>
</syntaxhighlight>


=== Return values ===
=== Return values ===

Latest revision as of 13:32, 13 July 2023