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