osSetInertia
OSSLvoid osSetInertia(float mass, vector centerOfMass, vector principalInertiaScaled, rotation rot)
Allows creators to set the major physics dynamic proprieties, replacing the values estimated from the linkset parts. Call osClearInertia to undo.
Parameters
| Type | Name |
|---|---|
| float | mass |
| vector | centerOfMass |
| vector | principalInertiaScaled |
| rotation | rot |
Energy
10
OpenSimulator extensions. Some are gated by threat level and a region may refuse them.
More in OSSL
void osNpcStopMoveToTarget(key npc)
void osForceAttachToOtherAvatarFromInventory(string rawAvatarId, string itemName, integer attachmentPoint)
void osSetSpeed(string UUID, float SpeedModifier)
integer osRegionRestart(float seconds, string msg)
float osGetSitActiveRange()
void osSetLinkSitActiveRange(integer linkNumber, float v)
string osGetScriptEngineName()
integer osAvatarType(string sFirstName, string sLastName)