Navigation
API > API/Plugins > API/Plugins/ControlRigPhysics
Properties of a body affecting its dynamics (movement without regard to collision).
| Name | FRigPhysicsDynamics |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ControlRigPhysics/Source/ControlRigPhysics/Public/RigPhysicsData.h |
| Include Path | #include "RigPhysicsData.h" |
Syntax
USTRUCT (BlueprintType )
struct FRigPhysicsDynamics
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AngularDamping | float | Angular velocity damping (1/s). | RigPhysicsData.h |
|
| bOverrideCentreOfMass | bool | When true, CentreOfMassOverride specifies the centre of mass position directly instead of computing it from the collision shapes. | RigPhysicsData.h |
|
| bOverrideMomentsOfInertia | bool | When true, MomentsOfInertiaOverride specifies the diagonal of the inertia tensor directly instead of computing it from the collision shapes. | RigPhysicsData.h |
|
| bScaleDampingByInverseMass | bool | When true, LinearDamping and AngularDamping are scaled by the body's inverse mass before being applied. | RigPhysicsData.h |
|
| CentreOfMassNudge | FVector | Offset added to the calculated (or overridden) centre of mass, in the body's local frame. | RigPhysicsData.h |
|
| CentreOfMassOverride | FVector | Centre of mass in the body's local frame. Used only when bOverrideCentreOfMass is true. | RigPhysicsData.h |
|
| Density | float | Material density in g/cm^3, used to derive mass from the body's collision volume. | RigPhysicsData.h |
|
| LinearDamping | float | Linear velocity damping (1/s). | RigPhysicsData.h |
|
| MassOverride | float | Explicit total mass for this body in kg. | RigPhysicsData.h |
|
| MomentsOfInertiaOverride | FVector | Diagonal moments of inertia (kg*cm^2) used when bOverrideMomentsOfInertia is true. | RigPhysicsData.h |
|