OsClearInertia

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
|delay=0
 
|delay=0
 
|function_syntax=osClearInertia()
 
|function_syntax=osClearInertia()
|csharp_syntax=
 
 
|ossl_example=<source lang="lsl">
 
|ossl_example=<source lang="lsl">
 
// Example of osClearInertia
 
// Example of osClearInertia

Revision as of 16:35, 3 March 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


See Also

Personal tools
General
About This Wiki