Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/UControlRig
Description
Registers and stores (taking ownership) of a physics simulation. The simulation will be responsible for the low-level storage and simulation of objects. Returns false if the world can't be registered - e.g. if there is already a simulation registered with the key.
| Name | RegisterPhysicsSimulation |
| Type | function |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/ControlRig.h |
| Include Path | #include "ControlRig.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/ControlRig.cpp |
bool RegisterPhysicsSimulation
(
TSharedPtr < FRigPhysicsSimulationBase > PhysicsSimulation,
const FRigComponentKey & InComponentKey
)