GetMass (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy fixed |
>Camoy fixed |
(No difference)
|
Revision as of 15:55, 30 August 2010
![]() | |
Returns | Number object mass |
Description: | Returns the Number of the object's mass. |
Member of: | [[RBX.lua.BasePart (Object)|BasePart]] |
Description
The GetMass function returns a Number value of the object's mass. Currently, all objects in Roblox have a density of 1, which means the GetMass returns the same value as the Volume of the object (size x * size y * size x*). This can be useful to determine more than just the mass of an object, but also the size.