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 osResetAllScripts(integer AllLinkset)
void osPlaySoundSlave(integer linknum, string sound, float volume)
vector osGetDrawStringSize(string contentType, string text, string fontName, integer fontSize)
string osGetLinkInventoryDesc(integer linkNumber, string itemNameorid)
void osTriggerSound(integer linknum, string sound, float volume)
void osVolumeDetect(integer detect)
string osSetPenColour(string drawList, string colour)
void osNpcLoadAppearance(key npc, string notecard)