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;
FName CreateControl
&40;
UMeshComponent &42; ParentMeshComponent,
FName ParentBoneName,
UMeshComponent &42; ChildMeshComponent,
const FName ChildBoneName,
const FPhysicsControlData ControlData,
const FPhysicsControlTarget ControlTarget,
const FPhysicsControlSettings ControlSettings,
FName Set,
const bool bEnabled
&41;
Remarks
Creates a new control for mesh components The name of the new control
Parameters
| Name | Description |
|---|---|
| ControlData | Describes the initial strength etc of the new control |
| ControlTarget | Describes the initial target for the new control |
| ControlSettings | General settings for the control |
| Set | Which set to include the control in (optional). Note that it automatically gets added to the set "All" |
| bEnabled | If true then the control will be enabled immediately. If false you will need to call SetControlEnabled(true) in order to activate it. |