LlGetObjectMass
From Second Life Wiki
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Contents |
Summary
Function: float llGetObjectMass( key id );| 295 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
Returns a float that is the mass of id
| • key | id | – | Avatar or object in the sim |
Examples
default { touch(integer n) { llSay(0, llDetectedName(0) + " your mass is " + (string)llGetObjectMass( llDetectedKey(0)) + " lindogram."); } } //Anylyn Hax 15:02, 28 July 2007 (PDT)
Notes
- Mass in SL is expressed as lindogram.
- Mass for avatars is relative to shape/size, and unaffected by attachments.
Deep Notes
History
Prior to server code version 1.18.6.76747 avatar mass was fixed at 1.954922 lindogram. It is now relative to Avatar shape/size.
Issues
Search JIRA for related IssuesTests
| • | llGetObjectMass_Test |
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

