Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UBasedMovementUtils
Description
Convert a world location to a local location for a given MovementBase, optionally at the location of a bone. Returns false if MovementBase is nullptr, or if BoneName is not a valid bone. Scaling is ignored.
| Name | TransformLocationToLocal |
| 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 void TransformLocationToLocal
(
FVector BasePos,
FQuat BaseQuat,
FVector WorldSpaceLocation,
FVector & OutLocalLocation
)