Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FPBDConstraintGroupSolver
Description
Calls the private pre-apply and apply constraints functions in the following order: PreApplyPositionConstraintsParallelTasks ApplyPositionConstraintsParallelTasks
PreApplyVelocityConstraintsParallelTasks ApplyVelocityConstraintsParallelTasks
PreApplyProjectionConstraintsParallelTasks ApplyProjectionConstraintsParallelTasks
This is equivalent to calling the public pre-apply and apply constraints functions, however, it parallelizes the constraint solve by scheduling and executing tasks provided their respective prerequisite tasks.
The function returns a TArray
| Name | ApplyConstraintsParallelTasks |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Evolution/ConstraintGroupSolver.h |
| Include Path | #include "Chaos/Evolution/ConstraintGroupSolver.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/Evolution/ConstraintGroupSolver.cpp |
TArray < UE::Tasks::FTask > ApplyConstraintsParallelTasks
(
const FReal Dt
)