Navigation
API > API/Plugins > API/Plugins/ControlRigDynamics > API/Plugins/ControlRigDynamics/FRigDynamicsSimulationSpaceState
Description
If DeltaTime > 0 then this does a full update, calculating new velocities etc. If DeltaTime <= 0 then this just updates the current position and orientation - no changes to velocity etc. TeleportDetection is used to detect discontinuous simulation-space movement; when one is detected the newly-computed velocities/accelerations are zeroed and UpdatesSinceReset is reset so the following frame's acceleration is also suppressed via bAccelerationsValid.
| Name | Update |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ControlRigDynamics/Source/ControlRigDynamics/Public/RigDynamicsSimulationSpace.h |
| Include Path | #include "RigDynamicsSimulationSpace.h" |
| Source | /Engine/Plugins/Experimental/ControlRigDynamics/Source/ControlRigDynamics/Private/RigDynamicsSimulationSpace.cpp |
void Update
(
const FRigDynamicsTeleportDetectionSettings & TeleportDetection,
const FTransform & InComponentTM,
const FTransform & InSimulationSpaceTM,
float DeltaTime
)