OsSetInertia
From OpenSimulator
(Difference between revisions)
Line 14: | Line 14: | ||
} | } | ||
</source> | </source> | ||
− | |description= Allows creators to set the major physics dynamic proprieties, replacing the values estimated from the linkset parts. | + | |description= Allows creators to set the major physics dynamic proprieties, replacing the values estimated from the linkset parts. Call osClearInertia to undo |
<div style="background-color:#FFA0A0; padding:10px; padding-bottom:5px; border: 1px #FF544F solid"> | <div style="background-color:#FFA0A0; padding:10px; padding-bottom:5px; border: 1px #FF544F solid"> |
Revision as of 16:04, 9 August 2017
osSetInertia(float mass, vector centerOfMass, vector principalInertiaScaled, rotation InertiaRot)
| |
Allows creators to set the major physics dynamic proprieties, replacing the values estimated from the linkset parts. Call osClearInertia to undo
Caution ! Only supported by ubOde for now Arguments:
| |
Threat Level | None |
Permissions | No permissions specified |
Extra Delay | No function delay specified |
Example(s) | |
// Example of osSetInertia default { state_entry() { ... } } |