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

LSL Wiki : llGetObjectMass

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl836.us.archive.org
float llGetObjectMass(key id)

Gets the mass of the object or avatar corresponding to id.

Returns 0.0 if id is not in the sim (meaning not a main or child agent, child agents return 1.000000 so this function could be used to distinguish between main and child agents). Because of this, llGetObjectMass should not be used to determine if an object key is in the sim, as it is possible to have extremely low-mass prims. Use llKey2Name instead.


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

functions | object | avatar | mass
Comments [Hide comments/form]
Attach a comment to this page: