UProjectionHelper::ProjectPositionRotationOntoGroundPlane

Projects a position and rotation onto the zero height ground plane resulting in translation only in XY and rotation only around the Z.