Difference between revisions of "LlGetObjectMass"
Jump to navigation
Jump to search
(The SL unit of mass is the Linden, no way you would know that. Articles are supposed to be written in the thrid person.) |
Bato Brendel (talk | contribs) |
||
Line 11: | Line 11: | ||
|constants | |constants | ||
|examples= | |examples= | ||
Avatar mass is not a constant of 1.954922 Lindens. Avatar mass as of Second Life Server 1.18.6.76747 server code is now dynamic and relative to the Avatar's size/shape. *Note* Attached objects still does not effect one's avatar mass. - 1/12/08 - | |||
<pre> | <pre> | ||
default | default |
Revision as of 01:50, 12 January 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: float llGetObjectMass( key id );295 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a float that is the mass of id
• key | id | – | Avatar or object in the sim |
Caveats
Examples
Avatar mass is not a constant of 1.954922 Lindens. Avatar mass as of Second Life Server 1.18.6.76747 server code is now dynamic and relative to the Avatar's size/shape. *Note* Attached objects still does not effect one's avatar mass. - 1/12/08 -
default { touch(integer n) { llSay(0, llDetectedName(0) + " your mass is " + (string)llGetObjectMass( llDetectedKey(0)) + " Lindens."); } }//Anylyn Hax 15:02, 28 July 2007 (PDT)
Mass [m] is the quantity of materia that a avatar has inside itself, and is expressed in Kg (Kilogramms).
The Weight [G] is a Force, expressed in N (Newtons), and it is m * g, where g is the the gravitational atraction (g = 9.81 on Earth).See Also
Functions
• | llGetMass | – | Gets the current object mass. |