OsClearInertia

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Change See Also)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
|threat_level=None
+
|threat_level=ignored
 +
|permissions=true
 +
|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 20: Line 21:
 
'''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


[edit] See Also

Personal tools
General
About This Wiki