Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FSolverBody
The struct exists only so that we can use the variable names as accessor names without violation the variable naming convention
| Name | FState |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Evolution/SolverBody.h |
| Include Path | #include "Chaos/Evolution/SolverBody.h" |
Syntax
struct FState
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FState() |
Chaos/Evolution/SolverBody.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CoM | FVec3 | Actor-space center of mass location. | Chaos/Evolution/SolverBody.h | |
| CP | FSolverVec3 | Net position correction delta applied by all constraints (constantly changing as we iterate over constraints) Will translate the body without introducing linear velocity | Chaos/Evolution/SolverBody.h | |
| CQ | FSolverVec3 | Net rotation correction delta applied by all constraints (constantly changing as we iterate over constraints) Will rotate the body without introducing angular velocity | Chaos/Evolution/SolverBody.h | |
| DP | FSolverVec3 | Net position delta applied by all constraints (constantly changing as we iterate over constraints) | Chaos/Evolution/SolverBody.h | |
| DQ | FSolverVec3 | Net rotation delta applied by all constraints (constantly changing as we iterate over constraints) | Chaos/Evolution/SolverBody.h | |
| InvI | FSolverMatrix33 | World-space inverse inertia NOTE: Matrix and Rotation are alignas(16) so beware of padding | Chaos/Evolution/SolverBody.h | |
| InvILocal | FSolverVec3 | Local-space inverse inertia (diagonal, so only 3 elements) | Chaos/Evolution/SolverBody.h | |
| InvM | FSolverReal | Inverse mass. | Chaos/Evolution/SolverBody.h | |
| Level | int32 | Distance to a kinematic body (through the contact graph). Used by collision shock propagation. | Chaos/Evolution/SolverBody.h | |
| P | FVec3 | Predicted world-space center of mass position (post-integration, pre-constraint-solve) | Chaos/Evolution/SolverBody.h | |
| Q | FRotation3 | Predicted world-space center of mass rotation (post-integration, pre-constraint-solve) | Chaos/Evolution/SolverBody.h | |
| R | FRotation3 | World-space rotation of mass at start of sub step. | Chaos/Evolution/SolverBody.h | |
| RoM | FRotation3 | Actor-space center of mass rotation. | Chaos/Evolution/SolverBody.h | |
| V | FSolverVec3 | World-space center of mass velocity. | Chaos/Evolution/SolverBody.h | |
| W | FSolverVec3 | World-space center of mass angular velocity. | Chaos/Evolution/SolverBody.h | |
| X | FVec3 | World-space center of mass state at start of sub step. | Chaos/Evolution/SolverBody.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init() |
Chaos/Evolution/SolverBody.h |