Navigation
API > API/Plugins > API/Plugins/PhysicsControl > API/Plugins/PhysicsControl/UPhysicsControlComponent
Description
Calls SetControlTargetPosition for each element of the control names and positions. These array should match in size.
| Name | SetControlTargetOrientationsFromArray |
| Type | function |
| Header File | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlComponent.h |
| Include Path | #include "PhysicsControlComponent.h" |
| Source | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Private/PhysicsControlComponent.cpp |
UFUNCTION (BlueprintCallable, Category=PhysicsControl, Meta=(ReturnDisplayName="Success"))
bool SetControlTargetOrientationsFromArray
(
const TArray < FName > & Names,
const TArray < FRotator > & Orientations,
const float VelocityDeltaTime,
const bool bEnableControl,
const bool bApplyControlPointToTarget
)
true if the control/position arrays match, false if they don't.