Anup G Prasad
Anup G Prasad

Reputation: 136

Detect touches on different positions of a SCNNode in ARKit

I have a 3D character in .dae format which i use in ARKit. I need to have different actions for touches at different positions of the character.eg: Menu options. I use scene kit and scnnode to create ar. I just started learning AR. Can someone please help me to get this done?

Upvotes: 0

Views: 513

Answers (1)

Anup G Prasad
Anup G Prasad

Reputation: 136

I fixed this by using hit test.I was having different meshes for different parts in my model. So simply calling node.name from hit test gets me which node was selected. Thanks all.

Upvotes: 0

Related Questions