Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
References
| Module | PhysicsControl |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlComponent.h |
| Include | #include "PhysicsControlComponent.h" |
| Source | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Private/PhysicsControlComponent.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;PhysicsControl&41;
bool SetControlTarget
&40;
const FName Name,
const FPhysicsControlTarget ControlTarget,
const bool bEnableControl
&41;
Remarks
Modifies an existing control target - i.e. what it is driving towards, relative to the parent object true if the control was found and modified, false if not
Parameters
| Name | Description |
|---|---|
| Name | The name of the control to modify. |
| ControlTarget | The new target for the control |
| bEnableControl | Enables the control if it is currently disabled |