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 FJointSolverConstraintRowState
Remarks
Transient state for a single sub-constraint in a joint
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FVec3 | Axis | |
![]() |
FVec3[MaxConstrainedBodies] | DPs | Per-Iteration Transient. |
![]() |
FVec3[MaxConstrainedBodies] | DRs | |
![]() |
FReal | Error | |
![]() |
FReal | Lambda | Per-Tick Transient. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | CalculateError
(
FReal Position, |
Calculate the error to correct, given the current position and limit. |
![]() |
void | Reset calculated values ready for next iteration. | |
![]() |
void | TickReset () |
Reset state that persists over all iterations, but must be cleared at start of each tick. |
Constants
Name | Description |
---|---|
MaxConstrainedBodies |