Don't click here unless you want to be banned.

LSL Wiki : llGetMass

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org
float llGetMass()

Returns the scripted object's mass. When called from a script in a linkset, the parent will return the sum of the linkset weights, while a child will return just its own mass. When called from a script inside an attachment, this function will return the mass of the avatar it's attached to, not its own.

Mass appears to be measured in a unit analogous to kilograms.
There is speculation that the mass unit could be a "lindogram".

See llGetObjectMass to get the mass of other objects.

Q: Is there a way to set an object's mass?
A: No, short of linking additional prims to it.

For an example use, see the example in llSetForce.


This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Mass | Physics
There are 5 comments on this page. [Display comments/form]