Struct MassDistribution
Describes how mass is distributed within an object Represented by a transformed box inertia of unit mass.
Inherited Members
Namespace: Unity.Physics
Syntax
public struct MassDistribution
Fields
InertiaTensor
Diagonalized inertia tensor for a unit mass.
Declaration
public float3 InertiaTensor
Field Value
Type | Description |
---|---|
float3 |
Transform
The center of mass and the orientation to principal axis space.
Declaration
public RigidTransform Transform
Field Value
Type | Description |
---|---|
RigidTransform |
Properties
InertiaMatrix
Get the inertia as a 3x3 matrix.
Declaration
public readonly float3x3 InertiaMatrix { get; }
Property Value
Type | Description |
---|---|
float3x3 | The inertia matrix. |