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
string osGetSimulatorVersion()
string osListAsString(list src, integer index)
void osAdjustSoundVolume(integer linknum, float volume)
string osGetAgentCountry(key agentId)
list osGetLinkInventoryNames(integer linkNumber, integer type)
string osGetInventoryDesc(string itemNameOrId)
string osSetPenColour(string drawList, string colour)
void osCollisionSound(string impact_sound, float impact_volume)