github.com/maxxfrazer/ARKit-SmartHitTest (swiftpm): I've put a function found in Apple's ARKit examples into a Swift Package & CocoaPod so it's easy to use.
Keywords: apple|arkit|augmented-reality|ios|realitykit|scenekit|swift