0
我有平面的陣列(非無限的飛機=>具有有限的尺寸)一個陣列中:ARKit:如何找到hitTest命中的所有飛機?
Plane *plane = [[Plane alloc] initWithAnchor: (ARPlaneAnchor *)anchor];
[self.planes setObject:plane forKey:anchor.identifier];
(平面物體從SCNNode heritates並且具有ARPlaneAnchor *錨和SCNPlane * planeGeometry屬性)
如何找到hitTest在屏幕某一點擊中的陣列平面的所有平面?
謝謝!
[ARKit可能重複:如何獲得hitTest命中的SCNNode?](https://stackoverflow.com/questions/46203065/arkit-how-to-get-a-scnnode-hit-by-hittest) – mnuages
這個問題更一般。因爲我對另一個問題的回答不滿意。 –
你的問題本身沒有意義。你怎麼能一次觸摸多於一個節點?你的用戶是章魚嗎? –