![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PBDJointCachedSolverGaussSeidel.h>
Classes | |
| struct | FData |
| struct | FDataSimd |
Public Attributes | ||
| union { | ||
| FDataSimd Simd | ||
| FData Data | ||
| }; | ||
| FVec3 | ConstraintMaxLambda | |
| FVec3 | SettingsSoftDamping | |
| FVec3 | SettingsSoftStiffness | |
| FVec3 | ConstraintVX | |
| FVec3 | ConstraintRestitution | |
| FVec3 | ConstraintLambdaVelocity | |
| uint8 | bValidDatas0: 1 | |
| uint8 | bValidDatas1: 1 | |
| uint8 | bValidDatas2: 1 | |
| uint8 | bLimitsCheck0: 1 | |
| uint8 | bLimitsCheck1: 1 | |
| uint8 | bLimitsCheck2: 1 | |
| uint8 | bSoftLimit0: 1 | |
| uint8 | bSoftLimit1: 1 | |
| uint8 | bSoftLimit2: 1 | |
| uint8 | bAccelerationMode: 1 | |
| uint8 | bUseSimd: 1 | |
| uint8 | MotionType0: 2 | |
| uint8 | MotionType1: 2 | |
| uint8 | MotionType2: 2 | |
Cached axis joint datas that will be used during the apply
|
inline |
|
delete |
|
delete |
| void Chaos::FAxisConstraintDatas::ApplyMaxLambda | ( | const int32 | ConstraintIndex, |
| FReal & | DeltaLambda, | ||
| FReal & | Lambda | ||
| ) |
Apply the impulse limits to the impulse delta and net impulse
|
inline |
| void Chaos::FAxisConstraintDatas::InitDatas | ( | const int32 | ConstraintIndex, |
| const bool | bHasSoftLimits, | ||
| const FReal | SoftStiffness, | ||
| const FReal | SoftDamping, | ||
| const FReal | HardStiffness, | ||
| const bool | bResetLambdas = true |
||
| ) |
Init the axis joint datas with stiffness / damping
|
delete |
|
delete |
| void Chaos::FAxisConstraintDatas::SetMaxForce | ( | const int32 | ConstraintIndex, |
| const FReal | InMaxForce, | ||
| const FReal | Dt | ||
| ) |
Initialize the max force ( force is modified for acceleration mode and converted to positional impulse limit)
|
inline |
| void Chaos::FAxisConstraintDatas::UpdateDatas | ( | const int32 | ConstraintIndex, |
| const FVec3 & | DatasAxis, | ||
| const FReal | DatasCX, | ||
| const FReal | DatasRestitution, | ||
| const bool | bCheckLimit = true, |
||
| const FVec3 & | DatasArm0 = FVec3::Zero(), |
||
| const FVec3 & | DatasArm1 = FVec3::Zero(), |
||
| const FReal | DatasVX = 0.0 |
||
| ) |
Update the axis joint datas with axis, limits, arms...
| void Chaos::FAxisConstraintDatas::UpdateMass | ( | const int32 | ConstraintIndex, |
| const FVec3 & | DatasIA0, | ||
| const FVec3 & | DatasIA1, | ||
| const FReal | DatasIM, | ||
| const FReal | Dt, | ||
| const bool | bUsePositionBasedDrives | ||
| ) |
Update the mass dependent datas
| union { ... } Chaos::FAxisConstraintDatas |
| uint8 Chaos::FAxisConstraintDatas::bAccelerationMode |
| uint8 Chaos::FAxisConstraintDatas::bLimitsCheck0 |
| uint8 Chaos::FAxisConstraintDatas::bLimitsCheck1 |
| uint8 Chaos::FAxisConstraintDatas::bLimitsCheck2 |
| uint8 Chaos::FAxisConstraintDatas::bSoftLimit0 |
| uint8 Chaos::FAxisConstraintDatas::bSoftLimit1 |
| uint8 Chaos::FAxisConstraintDatas::bSoftLimit2 |
| uint8 Chaos::FAxisConstraintDatas::bUseSimd |
| uint8 Chaos::FAxisConstraintDatas::bValidDatas0 |
| uint8 Chaos::FAxisConstraintDatas::bValidDatas1 |
| uint8 Chaos::FAxisConstraintDatas::bValidDatas2 |
| FVec3 Chaos::FAxisConstraintDatas::ConstraintLambdaVelocity |
| FVec3 Chaos::FAxisConstraintDatas::ConstraintMaxLambda |
| FVec3 Chaos::FAxisConstraintDatas::ConstraintRestitution |
| FVec3 Chaos::FAxisConstraintDatas::ConstraintVX |
| FData Chaos::FAxisConstraintDatas::Data |
| uint8 Chaos::FAxisConstraintDatas::MotionType0 |
| uint8 Chaos::FAxisConstraintDatas::MotionType1 |
| uint8 Chaos::FAxisConstraintDatas::MotionType2 |
| FVec3 Chaos::FAxisConstraintDatas::SettingsSoftDamping |
| FVec3 Chaos::FAxisConstraintDatas::SettingsSoftStiffness |
| FDataSimd Chaos::FAxisConstraintDatas::Simd |