UBasedMovementUtils::TransformRotatorToLocal

Convert a world space rotator to a local rotator for a given MovementBase, optionally relative to the orientation of a bone.