OsClearInertia
From OpenSimulator
(Difference between revisions)
m (Change See Also) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
− | |threat_level= | + | |threat_level=ignored |
− | | | + | |permissions=true |
− | | | + | |delay=0 |
+ | |function_syntax=osClearInertia() | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
// Example of osClearInertia | // Example of osClearInertia | ||
Line 10: | Line 11: | ||
state_entry() | state_entry() | ||
{ | { | ||
+ | ... | ||
+ | osClearInertia(); | ||
... | ... | ||
} | } | ||
} | } | ||
</source> | </source> | ||
− | |description=. | + | |description= clears the effect of osSetInertia* functions. Link set total mass, center of mass and inertia will be the values estimated by default from the link set parts. |
<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"> | ||
'''Caution !''' Only supported by '''ubOde''' for now | '''Caution !''' Only supported by '''ubOde''' for now | ||
</div> | </div> | ||
− | | | + | |additional_info=This function was added in 0.9.0.1}} |
− | }} | + | == See Also == |
+ | * [[osSetInertia]] | ||
+ | * [[osSetInertiaAsBox]] | ||
+ | * [[osSetInertiaAsSphere]] | ||
+ | * [[osSetInertiaAsCylinder]] |
Latest revision as of 18:56, 5 December 2020
osClearInertia()
| |
clears the effect of osSetInertia* functions. Link set total mass, center of mass and inertia will be the values estimated by default from the link set parts.
Caution ! Only supported by ubOde for now | |
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 osClearInertia default { state_entry() { ... osClearInertia(); ... } } | |
Notes | |
This function was added in 0.9.0.1 |