Navigation
API > API/Plugins > API/Plugins/ControlRigDynamics
Description
Translates the legacy combined struct (from the deprecated FRigUnit_SpawnDynamicsSolver pin layout) into the new SpaceMotion / TeleportDetection structs. SpaceMotion.Drag is left untouched - in the legacy layout drag fields lived on a separate FRigDynamicsSimulationDragSettings pin, so the caller is expected to assign that separately.
| Name | ConvertLegacyDynamicsSimulationSpaceSettings |
| Type | function |
| Header File | /Engine/Plugins/Experimental/ControlRigDynamics/Source/ControlRigDynamics/Public/RigDynamicsData.h |
| Include Path | #include "RigDynamicsData.h" |
| Source | /Engine/Plugins/Experimental/ControlRigDynamics/Source/ControlRigDynamics/Private/RigDynamicsData.cpp |
void ConvertLegacyDynamicsSimulationSpaceSettings
(
const FRigDynamicsSimulationSpaceSettings & In,
FRigDynamicsSimulationSpaceMotion & OutMotion,
FRigDynamicsTeleportDetectionSettings & OutTeleport
)