I'm new to this and currently building an AR-related application, on the old version I stated this
let results = self.hitTest(screenPosition, types: [.featurePoint])
and now I have a problem where the hitTest is deprecated in iOS 14.0
hitTest(_:types:)' was deprecated in iOS 14.0: Use [ARSCNView raycastQueryFromPoint:allowingTarget:alignment]
please advise me on how to fix it, thank you :)
raycastQuery(from:allowing:alignment:)
to do this. could you please check this to understand what is it and how can you use it -> https://mcmap.net/q/1019516/-in-which-cases-arscnview-raycastquery-returns-nil/7512091 – Counter