OsSetInertia

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{osslfunc |threat_level= |function_syntax= |csharp_syntax= |ossl_example=<source lang="lsl"> // Example of osSetInertia default { state_entry() { ... } }...")
 
Line 15: Line 15:
 
</source>
 
</source>
 
|description=...
 
|description=...
 +
 +
===== 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
 +
 
|
 
|
 
}}
 
}}

Revision as of 03:56, 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()
    {
        ...
    }
}


Personal tools
General
About This Wiki