Is Object Resting
PureIsObjectRestingChecks if a physics object has effectively come to rest (linear and angular velocity below thresholds).
Type: Pure (no side effects)
Category: Fortuna|Physics & Collision
Keywords: physics & collision
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Component | UPrimitiveComponent* | — | Component parameter |
| VelocityThreshold | float | 1.0 | VelocityThreshold parameter |
| AngularThreshold | float | 1.0 | AngularThreshold parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | bool | ReturnValue output |
Example Use Cases
Example 1
Detect when a thrown die has stopped rolling.
Example 2
Know when a physics puzzle piece has settled.