Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
Description
Update the constraint based on the record. PhysicsAssetConstraintInstance and DefaultConstraintInstance are the live and authored constraint instances for this bone pair; both are null when the control does not use skeletal animation or no matching constraint was found in the physics asset.
| Name | ApplyControl |
| Type | function |
| Header File | /Engine/Plugins/Animation/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlComponent.h |
| Include Path | #include "PhysicsControlComponent.h" |
| Source | /Engine/Plugins/Animation/PhysicsControl/Source/PhysicsControl/Private/PhysicsControlComponentImpl.cpp |
void ApplyControl
(
FPhysicsControlRecord & Record,
FConstraintInstance * PhysicsAssetConstraintInstance,
const FConstraintInstance * DefaultConstraintInstance
)