OsSetInertia
From OpenSimulator
(Difference between revisions)
m (Added permissions and delay information) |
|||
Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
− | |threat_level= | + | |threat_level=ignored |
+ | |permissions=true | ||
+ | |delay=0 | ||
|function_syntax = osSetInertia(float mass, vector centerOfMass, vector principalInertiaScaled, rotation InertiaRot) | |function_syntax = osSetInertia(float mass, vector centerOfMass, vector principalInertiaScaled, rotation InertiaRot) | ||
|csharp_syntax= | |csharp_syntax= |
Revision as of 11:36, 25 October 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 | This function does not do a threat level check |
Permissions | Use of this function is always allowed by default |
Extra Delay | 0 seconds |
Example(s) | |
// Example of osSetInertia default { state_entry() { ... } } |
See Also