![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SolverBody.h>
Public Member Functions | |
| FConstraintSolverBody () | |
| FConstraintSolverBody (FSolverBody &InBody) | |
| bool | IsValid () const |
| True if we have been set up to decorate a SolverBody. | |
| void | Reset () |
| Invalidate the solver body reference. | |
| void | Init () |
| Initialize all properties to safe values. | |
| void | SetSolverBody (FSolverBody &InSolverBody) |
| Set the inner solver body (hold by reference) | |
| FSolverBody & | SolverBody () |
| The decorated SolverBody. | |
| const FSolverBody & | SolverBody () const |
| FSolverReal | InvMScale () const |
| A scale applied to inverse mass. | |
| void | SetInvMScale (FReal InValue) |
| FSolverReal | InvIScale () const |
| A scale applied to inverse inertia. | |
| void | SetInvIScale (FReal InValue) |
| FSolverReal | ShockPropagationScale () const |
| Shock propagation mass and inertia scaling (0 for infinite mass, 1 for no effect) | |
| void | SetShockPropagationScale (FReal InValue) |
| FSolverReal | InvM () const |
| The net scaled inverse mass. | |
| FSolverMatrix33 | InvI () const |
| The net scaled inverse inertia. | |
| FSolverVec3 | InvILocal () const |
| The net scaled local space inverse inertia. | |
| bool | IsDynamic () const |
| Whether the body is dynamic (i.e., has a finite mass) after scaling is applied. | |
| void | SetImplicitVelocity (FReal Dt) |
| FRigidTransform3 | CoMTransform () const |
| const FVec3 & | X () const |
| const FRotation3 & | R () const |
| const FVec3 & | P () const |
| const FRotation3 & | Q () const |
| const FVec3 | ActorP () const |
| const FRotation3 | ActorQ () const |
| const FVec3 | CorrectedActorP () const |
| const FRotation3 | CorrectedActorQ () const |
| const FSolverVec3 & | V () const |
| const FSolverVec3 & | W () const |
| int32 | Level () const |
| const FSolverVec3 & | DP () const |
| const FSolverVec3 & | DQ () const |
| const FSolverVec3 & | CP () const |
| const FSolverVec3 & | CQ () const |
| FVec3 | CorrectedP () const |
| FRotation3 | CorrectedQ () const |
| void | ApplyTransformDelta (const FSolverVec3 &DP, const FSolverVec3 &DR) |
| void | ApplyPositionDelta (const FSolverVec3 &DP) |
| void | ApplyRotationDelta (const FSolverVec3 &DR) |
| void | ApplyPositionCorrectionDelta (const FSolverVec3 &DP) |
| void | ApplyRotationCorrectionDelta (const FSolverVec3 &DR) |
| void | ApplyVelocityDelta (const FSolverVec3 &DV, const FSolverVec3 &DW) |
| void | ApplyLinearVelocityDelta (const FSolverVec3 &DV) |
| void | ApplyAngularVelocityDelta (const FSolverVec3 &DW) |
| void | EnforceShortestRotationTo (const FRotation3 &InQ) |
| void | UpdateRotationDependentState () |
An FSolverBody decorator for adding mass modifiers to a SolverBody. This will scale the inverse mass and inverse inertia using the supplied scale. It also updates IsDynamic() to return false if the scaled inverse mass is zero.
See FSolverBody for comments on methods.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Initialize all properties to safe values.
|
inline |
The net scaled inverse inertia.
|
inline |
The net scaled local space inverse inertia.
|
inline |
A scale applied to inverse inertia.
|
inline |
The net scaled inverse mass.
|
inline |
A scale applied to inverse mass.
|
inline |
Whether the body is dynamic (i.e., has a finite mass) after scaling is applied.
|
inline |
True if we have been set up to decorate a SolverBody.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Invalidate the solver body reference.
|
inline |
Set the inner solver body (hold by reference)
|
inline |
Shock propagation mass and inertia scaling (0 for infinite mass, 1 for no effect)
|
inline |
The decorated SolverBody.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |