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 osCauseHealing(key agentId, float healing)
void osRemoveLinkInventory(integer linkNumber, string name)
integer osGetParcelDwell(vector pos)
void osForceAttachToOtherAvatarFromInventory(string rawAvatarId, string itemName, integer attachmentPoint)
string osLoadedCreationID()
integer osStringLastIndexOf(string src, string value, integer start, integer count, integer ignorecase)
void osSetContentType(key id, string type)
string osDrawTranslationTransform(string drawList, float x, float y)