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
void osForceCreateLink(string target, integer parent)
void osNpcStopMoveToTarget(key npc)
string osGetNotecard(string name)
string osAvatarName2Key(string firstname, string lastname)
integer osResetEnvironment(integer parcelOrRegion, integer transition)
integer osListenRegex(integer channelID, string name, string ID, string msg, integer regexBitfield)
string osGetAgentCountry(key agentId)
void osRegionNotice(key agentID, string msg)