objective c - ARKit : how to find all planes hit by a hitTest? -


i have array of planes (non infinite planes => finite dimensions) in array:

plane *plane = [[plane alloc] initwithanchor: (arplaneanchor *)anchor]; [self.planes setobject:plane forkey:anchor.identifier]; 

(plane object heritates scnnode , has arplaneanchor *anchor , scnplane *planegeometry properties)

how find planes of array planes hit hittest @ point of screen ?

thanks !

i use categorybitmask , set example 3 (=11b). set categorybitmask option in hit test 2 (=10b). way nodes second bit of categroy 1 returned.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -