Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/MoveLibrary > API/Plugins/Mover/MoveLibrary/UBasedMovementUtils
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/BasedMovementUtils.h |
| Include | #include "MoveLibrary/BasedMovementUtils.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoveLibrary/BasedMovementUtils.cpp |
UFUNCTION (BlueprintCallable, Category="Mover/MovementBases")
static bool TransformWorldRotatorToBased
(
const UPrimitiveComponent * MovementBase,
const FName BoneName,
FRotator WorldSpaceRotator,
FRotator & OutLocalRotator
)
Remarks
Convert a world space rotator to a local rotator for a given MovementBase, optionally relative to the orientation of a bone. Returns false if MovementBase is nullptr, or if BoneName is not a valid bone. Scaling is ignored.