R3d.Body:getMass: Difference between revisions

From GiderosMobile
Created page with "'''Available since:''' Gideros 2020.2<br/> '''Class:''' R3d.Body<br/> === Description === Gets the body mass. <source lang="lua"> (number) = r3d.Body:getMass() </source>..."
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
'''Available since:''' Gideros 2020.2<br/>
'''Available since:''' Gideros 2020.2<br/>
'''Class:''' [[R3d.Body]]<br/>
'''Class:''' [[R3d.Body]]<br/>
Line 4: Line 5:
=== Description ===
=== Description ===
Gets the body mass.
Gets the body mass.
<source lang="lua">
<syntaxhighlight lang="lua">
(number) = r3d.Body:getMass()
(number) = r3d.Body:getMass()
</source>
</syntaxhighlight>


=== Return values ===
=== Return values ===
Line 12: Line 13:


=== Example ===
=== Example ===
<source lang="lua">
<syntaxhighlight lang="lua">
</source>
player1.body:getMass()
</syntaxhighlight>


{{R3d.Body}}
{{R3d.Body}}

Latest revision as of 09:47, 18 December 2025