Is there a native way with SceneKit to find a node at a given position, e.g., (0,0,0), within a SCNView?
Assume a SCNView contains a SCNNode which acts as a layer for other SCNNodes. Is there a native way to find all the nodes at a specific position within the layer?
Reading the class docs, it seems like the only option is to create and maintain a custom data structure mapping positions to nodes.
But hopefully there's something native since this seems like a common problem.
If a custom data structure is required, would a dictionary be the most efficient way to maintain tabs on 10K nodes in Swift?