2017-09-13 40 views
0

我有平面的阵列(非无限的飞机=>具有有限的尺寸)一个阵列中:ARKit:如何找到hitTest命中的所有飞机?

Plane *plane = [[Plane alloc] initWithAnchor: (ARPlaneAnchor *)anchor]; 
[self.planes setObject:plane forKey:anchor.identifier]; 

(平面物体从SCNNode heritates并且具有ARPlaneAnchor *锚和SCNPlane * planeGeometry属性)

如何找到hitTest在屏幕某一点击中的阵列平面的所有平面?

谢谢!

+0

[ARKit可能重复:如何获得hitTest命中的SCNNode?](https://stackoverflow.com/questions/46203065/arkit-how-to-get-a-scnnode-hit-by-hittest) – mnuages

+0

这个问题更一般。因为我对另一个问题的回答不满意。 –

+0

你的问题本身没有意义。你怎么能一次触摸多于一个节点?你的用户是章鱼吗? –

回答