|
void | Apply (Rigidbody rigidbody) |
|
void | DoUpdate (Rigidbody rigidbody) |
|
Enumerator |
---|
Default |
|
Parametric |
|
InertiaColliders |
|
Explicit |
|
void VehiclePhysics.Inertia.Apply |
( |
Rigidbody |
rigidbody | ) |
|
|
inline |
static void VehiclePhysics.Inertia.ApplyExplicitInertia |
( |
Rigidbody |
rigidbody, |
|
|
Vector3 |
inertiaTensor, |
|
|
Vector3 |
inertiaTensorRotation |
|
) |
| |
|
inlinestatic |
static void VehiclePhysics.Inertia.ApplyInertiaFromColliders |
( |
Rigidbody |
rigidbody, |
|
|
Collider[] |
inertiaColliders |
|
) |
| |
|
inlinestatic |
static void VehiclePhysics.Inertia.ApplyParametricInertia |
( |
Rigidbody |
rigidbody, |
|
|
Vector3 |
dimensions, |
|
|
float |
inertiaBias |
|
) |
| |
|
inlinestatic |
static Vector3 VehiclePhysics.Inertia.ComputeBoxInertia |
( |
Vector3 |
dimensions, |
|
|
float |
mass |
|
) |
| |
|
inlinestatic |
void VehiclePhysics.Inertia.DoUpdate |
( |
Rigidbody |
rigidbody | ) |
|
|
inline |
static void VehiclePhysics.Inertia.DrawGizmo |
( |
Settings |
settings, |
|
|
Rigidbody |
rigidbody |
|
) |
| |
|
inlinestatic |
static void VehiclePhysics.Inertia.VerifyInertiaAndShowWarning |
( |
Rigidbody |
rigidbody | ) |
|
|
inlinestatic |
Color VehiclePhysics.Inertia.inertiaGizmosColor = GColor.Alpha(GColor.orange, 0.25f) |
|
static |
float VehiclePhysics.Inertia.lowerLimitRatio = 0.05f |
|
static |
The documentation for this class was generated from the following file:
- KSP/Assets/Packages/VehiclePhysicsPro/Core/Vehicle Physics core/Blocks/Helpers/Inertia.cs