Touch inside not working with multiple touch nodes
Posted: 24 Feb 2017, 10:14
When I've one circle object with a touch button node in my scene, the touch inside property works perfect.
When I've another circle object in the same scene with a touch translation node, the touch inside property of the first circle doesn't work anymore as soon as I drag the second circle inside the first circle.
I want to detect when the second circle is inside the first circle. I can calculate it by comparing the x-y position value's of the second circle are within the area (bounding volume) of the first circle. But I need it more precisely. The intersection type should be mesh.
See attached scene.
What is the best way to solve this.
Kind regards
Rogier
When I've another circle object in the same scene with a touch translation node, the touch inside property of the first circle doesn't work anymore as soon as I drag the second circle inside the first circle.
I want to detect when the second circle is inside the first circle. I can calculate it by comparing the x-y position value's of the second circle are within the area (bounding volume) of the first circle. But I need it more precisely. The intersection type should be mesh.
See attached scene.
What is the best way to solve this.
Kind regards
Rogier