/Engine/Source/Runtime/AnimGraphRuntime/Public/KismetAnimationLibrary.h
Returns degree of the angle between Velocity and Rotation forward vector The range of return will be from [-180, 180]. Useful for feeding directional blendspaces.
static float CalculateDirection ( const FVector & Velocity, const FRotator & BaseRotation )