OsClearInertia

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Change See Also)
 
(One intermediate revision by one user not shown)
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
Line 23: Line 22:
 
</div>
 
</div>
 
|additional_info=This function was added in 0.9.0.1}}
 
|additional_info=This function was added in 0.9.0.1}}
'''See Also'''
+
== See Also ==
 
* [[osSetInertia]]
 
* [[osSetInertia]]
 
* [[osSetInertiaAsBox]]
 
* [[osSetInertiaAsBox]]
 
* [[osSetInertiaAsSphere]]
 
* [[osSetInertiaAsSphere]]
 
* [[osSetInertiaAsCylinder]]
 
* [[osSetInertiaAsCylinder]]

Latest revision as of 19: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


[edit] See Also

Personal tools
General
About This Wiki