osSetInertiaAsSphere
OSSLvoid osSetInertiaAsSphere(float mass, float radius, vector centerOfMass)
Allows creators to set the link set total mass, center of mass and moment of inertia. Moment of inertia will be the one of a sphere of radius radius, placed at the center of mass. Call osClearInertia to undo.
Parameters
| Type | Name |
|---|---|
| float | mass |
| float | radius |
| vector | centerOfMass |
Energy
10
OpenSimulator extensions. Some are gated by threat level and a region may refuse them.
More in OSSL
list osGetLinkInventoryNames(integer linkNumber, integer type)
float osGetSunParam(string param)
string osKey2Name(string id)
void osNpcTouch(key npcLSL_Key, key object_key, integer link_num)
void osNpcStopMoveToTarget(key npc)
void osSetLinkSitActiveRange(integer linkNumber, float v)
string osAESEncrypt(string secret, string plainText)
void osNpcWhisper(key npc, integer channel, string message)