Navigation
API > API/Runtime > API/Runtime/Chaos
Body and joint state required during a joint's solve (used by all sub-constraints in the joint)
| Name | FJointSolverJointState |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Joint/JointSolverConstraints.h |
| Include Path | #include "Chaos/Joint/JointSolverConstraints.h" |
Syntax
class FJointSolverJointState
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxConstrainedBodies | const int32 | Chaos/Joint/JointSolverConstraints.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AngleTolerance | FReal | Chaos/Joint/JointSolverConstraints.h | ||
| DPs | FVec3 | Chaos/Joint/JointSolverConstraints.h | ||
| DRs | FVec3 | Chaos/Joint/JointSolverConstraints.h | ||
| InvILs | FVec3 | Chaos/Joint/JointSolverConstraints.h | ||
| InvIs | FMatrix33 | Chaos/Joint/JointSolverConstraints.h | ||
| InvMs | FReal | Chaos/Joint/JointSolverConstraints.h | ||
| PositionTolerance | FReal | Chaos/Joint/JointSolverConstraints.h | ||
| PrevPs | FVec3 | XPBD initial world-space body state (start of each tick, not each sub-tick iteration) | Chaos/Joint/JointSolverConstraints.h | |
| PrevQs | FRotation3 | Chaos/Joint/JointSolverConstraints.h | ||
| PrevXs | FVec3 | Chaos/Joint/JointSolverConstraints.h | ||
| Ps | FVec3 | World-space body state. | Chaos/Joint/JointSolverConstraints.h | |
| Qs | FRotation3 | Chaos/Joint/JointSolverConstraints.h | ||
| Rs | FRotation3 | Chaos/Joint/JointSolverConstraints.h | ||
| XLs | FRigidTransform3 | Local-space constraint settings. | Chaos/Joint/JointSolverConstraints.h | |
| Xs | FVec3 | World-space constraint state. | Chaos/Joint/JointSolverConstraints.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyDelta
(
const FVec3& DP0, |
Chaos/Joint/JointSolverConstraints.h | ||
void ApplyRotationDelta
(
const FVec3& DR0, |
Chaos/Joint/JointSolverConstraints.h | ||
void Init
(
const FPBDJointSolverSettings& SolverSettings, |
Chaos/Joint/JointSolverConstraints.h | ||
void InitDerivedState() |
Chaos/Joint/JointSolverConstraints.h | ||
void Update
(
const FVec3& P0, |
Chaos/Joint/JointSolverConstraints.h | ||
void UpdateDerivedState() |
Chaos/Joint/JointSolverConstraints.h |