Added tryFindClosestPortalEntityByPlane. (not used)