Touch inside not working with multiple touch nodes

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
Total-Image
Posts: 28
Joined: 11 Sep 2015, 14:42

Touch inside not working with multiple touch nodes

Post by Total-Image » 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
Attachments
Hittest.vzs
(8.29 KiB) Downloaded 76 times

User avatar
s-petersen
Posts: 16
Joined: 25 Mar 2015, 11:07
Location: wuppertal | germany
Contact:

Re: Touch inside not working with multiple touch nodes

Post by s-petersen » 01 Mar 2017, 08:35

Hi there,
its made with PLE......
no chence to check.

cheers
sven

Post Reply