USplineComponent::FindQuaternionClosestToWorldLocation

Given a location, in world space, return a quaternion corresponding to the spline's rotation closest to the location.