Expand description
Mass property components.
Structs§
- Angular
Inertia - The local angular inertia of an entity, representing resistance to angular acceleration. A higher angular inertia requires more torque for the same acceleration.
- Center
OfMass - The local center of mass of an entity, representing the average position of mass in the object. Applying forces at this point produces no torque.
- Collider
Density - The density of a
Collider
, used for computingColliderMassProperties
. Defaults to1.0
. - Collider
Mass Properties - A read-only component for the mass properties of a
Collider
. Computed automatically from the collider’s shape andColliderDensity
. - Computed
Angular Inertia - The total local angular inertia computed for a dynamic rigid body as a 3x3 tensor matrix, taking into account colliders and descendants. Represents resistance to angular acceleration.
- Computed
Center OfMass - The local center of mass computed for a dynamic rigid body, taking into account colliders and descendants. Represents the average position of mass in the body.
- Computed
Mass - The total mass computed for a dynamic rigid body, taking into account colliders and descendants. Represents resistance to linear acceleration.
- Global
Angular Inertia - The total world-space angular inertia computed for a dynamic rigid body, taking into account colliders and descendants.
- Mass
- The mass of an entity, representing resistance to linear acceleration. A higher mass requires more force for the same acceleration.
- Mass
Properties Bundle - A bundle containing mass properties.
- NoAuto
Angular Inertia - A marker component that prevents descendants or attached colliders
from contributing to the total
ComputedAngularInertia
of a rigid body. - NoAuto
Center OfMass - A marker component that prevents descendants or attached colliders
from contributing to the total
ComputedCenterOfMass
of a rigid body. - NoAuto
Mass - A marker component that prevents descendants or attached colliders
from contributing to the total
ComputedMass
of a rigid body. - Recompute
Mass Properties - A marker component that forces the recomputation of
ComputedMass
,ComputedAngularInertia
andComputedCenterOfMass
for a rigid body.
Enums§
- Angular
Inertia Error - An error returned for an invalid angular inertia.
- Mass
Error - An error returned for an invalid mass.