one touch disappears when approaching to another
Posted: Mon Mar 29, 2021 11:48 pm
Hello again!
i got a problem with controlling two objects at the same time with touches
when I bring these points to each other, one touch disappears
is it possible to fix it somehow?
there seems to be no errors in the code itself, I can briefly describe the control algorithm:
the examples from my last post have the same problem, so I don't even know if it is possible to fix it
viewtopic.php?f=4&t=90678&p=239613#p239613
I'm just tired of coding, I wanted to draw something
i got a problem with controlling two objects at the same time with touches
when I bring these points to each other, one touch disappears
is it possible to fix it somehow?
there seems to be no errors in the code itself, I can briefly describe the control algorithm:
- we go through the touches
- go through the list of objects
- find the closest to the touch and assign it the ID of the parent
- then we assign x and y to the object of touch by id
the examples from my last post have the same problem, so I don't even know if it is possible to fix it
viewtopic.php?f=4&t=90678&p=239613#p239613
I'm just tired of coding, I wanted to draw something