From Second Life Wiki
Jump to navigation Jump to search


Function: float llGetMassMKS( );

Returns a float that is the mass (in Kilograms) of object that script is attached to. Functionally identical to llGetMass except for the unit used in the return value.

MKS as used in the name of this function is likely a reference to the MKS system of units (Meter, Kilogram, Second), which form the base of SI units (with some minor differences).


  • Attachments do not effect an avatar's mass, only certain Appearance settings.
    • Avatar mass is reported to either be unexpectedly low (when measured using llGetMass) or unexpectedly high (when measured using llGetMassMKS). This is likely due to the weight being calculated based on a fixed value, with a modifier for height. The fixed value being used is incorrect, likely due to an incorrect density value being used.
All Issues ~ Search JIRA for related Bugs


//Reports an object's mass in Lindograms and Kilograms.
        llSay(0,"My weight in Lindograms: " + (string)llGetMass() + "\nMy weight in Kilograms: " + (string)llGetMassMKS());


  • the Kilogram value seems to be the Lindogram value multiplied by 100.

See Also


•  llGetObjectMass Gets the object mass (in Lindograms)
•  llGetForce Gets the objects force
•  llGetOmega
•  llGetVel
•  llGetTorque
•  llGetAccel
•  llGetMass Get the mass of an object (in Lindograms)

Deep Notes


Date of Release 23/09/2011

Search JIRA for related Issues


function float llGetMassMKS();