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