| Enumerator |
|---|
| PreserveAspect |
|
| PreserveWidth |
|
| PreserveHeight |
|
| PreserveLength |
|
| static Vector3 VehiclePhysics.VPSolidCargo.ComputeCoM |
( |
Vector3 |
containerSize, |
|
|
Vector3 |
cargoSize, |
|
|
float |
lateralPosition, |
|
|
float |
verticalPosition, |
|
|
float |
longitudinalPosition |
|
) |
| |
|
inlinestatic |
| void VehiclePhysics.VPSolidCargo.OnAfterDeserialize |
( |
| ) |
|
|
inline |
| void VehiclePhysics.VPSolidCargo.OnBeforeSerialize |
( |
| ) |
|
|
inline |
| static Vector3 VehiclePhysics.VPSolidCargo.ScaleVolume |
( |
Vector3 |
volume, |
|
|
float |
scale, |
|
|
VPSolidCargo.ShapeMode |
scaleMode, |
|
|
float |
shapeFactor |
|
) |
| |
|
inlinestatic |
| float VehiclePhysics.VPSolidCargo.cargoLevel = 0.5f |
| Vector3 VehiclePhysics.VPSolidCargo.containerSize = new Vector3(1.8f, 1.5f, 4.0f) |
| float VehiclePhysics.VPSolidCargo.lateralPosition = 0.0f |
| float VehiclePhysics.VPSolidCargo.longitudinalPosition = 0.0f |
| float VehiclePhysics.VPSolidCargo.maxCargoMass = 1000.0f |
| float VehiclePhysics.VPSolidCargo.maxCargoVolume = 0.5f |
| float VehiclePhysics.VPSolidCargo.shapeFactor = 0.0f |
| ShapeMode VehiclePhysics.VPSolidCargo.shapeMode = ShapeMode.PreserveAspect |
| bool VehiclePhysics.VPSolidCargo.useContainerInertia = false |
| float VehiclePhysics.VPSolidCargo.verticalPosition = -1.0f |
| Rigidbody VehiclePhysics.VPSolidCargo.cargoRigidbody |
|
get |
| Joint VehiclePhysics.VPSolidCargo.joint |
|
get |
| Vector3 VehiclePhysics.VPSolidCargo.localPosition |
|
getset |
The documentation for this class was generated from the following file:
- KSP/Assets/Packages/VehiclePhysicsPro/Core/Vehicle Physics core/Components/Experimental/VPSolidCargo.cs