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 SetControlTargetPositionsFromArray
&40;
const TArray< FName > & Names,
const TArray< FVector > & Positions,
const float VelocityDeltaTime,
const bool bEnableControl,
const bool bApplyControlPointToTarget
&41;
Remarks
Calls SetControlTargetPosition for each element of the control names and positions. These array should match in size. true if the control/position arrays match, false if they don't.