Get Center Of Mass
PureGetCenterOfMassReturns the world-space center of mass of a physics-enabled component.
Type: Pure (no side effects)
Category: Fortuna|Physics & Collision
Keywords: physics & collision
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Component | UPrimitiveComponent* | — | Component parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | FVector | ReturnValue output |
Example Use Cases
Example 1
Apply forces at the center of mass for realistic physics.
Example 2
Balance calculations for a stacking game.