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;
void SetControlTargets
&40;
const TArray< FName > & Names,
const FPhysicsControlTarget ControlTarget,
const bool bEnableControl
&41;
Remarks
Modifies existing control targets - i.e. what they are driving towards, relative to the parent objects
Parameters
| Name | Description |
|---|---|
| Names | The names of the controls to modify. Note that if you have these in a FPhysicsControlNameArray then it can be split. |
| ControlTarget | The new target for the controls |
| bEnableControl | Enables the controls if currently disabled |