I’m not a mathematician, but I had to do trial and error too many times and this was difficult for me but I found the solution. It works 100%.
Here full video in Mega
Is it complex? Yes, at least for me. I’m too happy that it works and I don’t have to hide anything anymore. The problem will be how I apply it to the drag operation, that is another story.
The problem is that Drag Operation’s move is not entirely correct. I’ll see if I can fix it.