I'm trying to convert some hitTesting code to use raycasting, but I don't see an equivalent of ARHitTestResult.ResultType.existingPlaneUsingExtent? "allowing: .estimatedPlane, alignment: .vertical" returns null for some of the anchors when .existingPlaneUsingExtent returns values for all the anchors, and "allowing: .estimatedPlane, alignment: .any" doesn't seems to return values for any anchors, just the featurePoint normals. Not sure if I'm missing something or this is a bug or what.
Try using existingPlaneGeometry as your raycast query target.