Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UBasedMovementUtils
Description
Convert a local direction to a world direction for a given MovementBase. Returns false if MovementBase is nullptr, or if BoneName is not a valid bone. Scaling is ignored.
| Name | TransformBasedDirectionToWorld |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/BasedMovementUtils.h |
| Include Path | #include "MoveLibrary/BasedMovementUtils.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoveLibrary/BasedMovementUtils.cpp |
UFUNCTION (BlueprintCallable, Category="Mover/MovementBases")
static bool TransformBasedDirectionToWorld
(
const UPrimitiveComponent * MovementBase,
const FName BoneName,
FVector LocalDirection,
FVector & OutDirectionWorldSpace
)