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

LSL Wiki : llGetMass

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawling22.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.


Mass | Physics
Comments [Hide comments/form]
Don't kill me, Eep, but I feel this skims easier. Eyes drawn to emphasised words leading to paragraph meaning, that sort of thing.
-- IoneLameth (2005-12-12 18:32:53)
There's no reason to go changing how paragraphs are formatted, Ione...
-- EepQuirk (2005-12-13 09:24:36)
There is, the reason that it may well be a little more readable, like suggested.

Of course, it's subjective, so a nice reply would be one that argued against it convincingly, or even at all. Editing the same thing twice for the same reason of 'I like it better' but without without any argument implies you never consider any arguments and just Know Better(tm). Heh, and you wonder why people get annoyed at you...
-- IoneLameth (2005-12-13 10:03:51)
You can be sure the annoyance is with others first before others get annoyed with me. Funny how that works, eh? Look into the mirror and take your own advice before giving it to others...
-- EepQuirk (2005-12-17 22:05:38)
Likewise:P
-- IoneLameth (2005-12-18 07:42:13)
Attach a comment to this page: