Expand description
Mass property components.
Structs§
- The local angular inertia of an entity, representing resistance to angular acceleration. A higher angular inertia requires more torque for the same acceleration.
- 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.
- A read-only component for the mass properties of a
Collider
. Computed automatically from the collider’s shape andColliderDensity
. - 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.
- 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.
- The total mass computed for a dynamic rigid body, taking into account colliders and descendants. Represents resistance to linear acceleration.
- The total world-space angular inertia computed for a dynamic rigid body, taking into account colliders and descendants.
- The mass of an entity, representing resistance to linear acceleration. A higher mass requires more force for the same acceleration.
- A bundle containing mass properties.
- A marker component that prevents descendants or attached colliders from contributing to the total
ComputedAngularInertia
of a rigid body. - A marker component that prevents descendants or attached colliders from contributing to the total
ComputedCenterOfMass
of a rigid body. - A marker component that prevents descendants or attached colliders from contributing to the total
ComputedMass
of a rigid body. - A marker component that forces the recomputation of
ComputedMass
,ComputedAngularInertia
andComputedCenterOfMass
for a rigid body.
Enums§
- An error returned for an invalid angular inertia.
- An error returned for an invalid mass.