OsSetInertia: Difference between revisions

From OpenSimulator
Jump to navigationJump to search
imported>Djphil
No edit summary
imported>Djphil
No edit summary
Line 1: Line 1:
<div style="background-color:#FFA0A0; padding:10px; padding-bottom:5px; border: 1px #FF544F solid">
{{osslfunc
| <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>


{{osslfunc
|threat_level=
|threat_level=
|function_syntax=
|function_syntax=

Revision as of 11:30, 26 June 2017

No function syntax provided
...
Arguments:
  • Mass total mass of link set
  • centerOfMass location of center of mass relative to root prim in local frame
  • principalInertiaScaled moment of inertia relative to principal axis and center of mass,Ixx, Iyy, Izz divided by mass so they can be changed independently
  • lslrot rotation of the inertia, relative to local axis
Threat Level No threat level specified
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
// Example of osSetInertia

default
{
    state_entry()
    {
        ...
    }
}