Struct BodyInertia
- Namespace
- BepuPhysics
- Assembly
- BepuPhysics.dll
Stores the inertia for a body.
public struct BodyInertia
- Inherited Members
Remarks
This representation stores the inverse mass and inverse inertia tensor. Most of the high frequency use cases in the engine naturally use the inverse.
Fields
InverseInertiaTensor
Inverse of the body's inertia tensor.
public Symmetric3x3 InverseInertiaTensor
Field Value
- Symmetric3x3
InverseMass
Inverse of the body's mass.
public float InverseMass
Field Value
Methods
ToString()
Returns a string representing the BodyInertia as "InverseMass, InverseInertiaTensor".
public override string ToString()
Returns
- string
String representing the BodyInertia.