Hi guys,
Is there a standard, or best practice kind of way to handle the logic when your interface (button, sprite, etc) that you want to interact with is being translated/ rotated/ scaled? I’ve used different techniques – offsetting the mouse.x or touch.x location, offsetting the interface coordinates, and some GL matrix stuff that I didn’t completely understand. It starts to get pretty messy the more translations, etc go on top of each other, so I was wondering what the best way to go about it is.
In Processing, I’ve used modelX() or screenX(), and haven’t found a similar equivalent yet in OF. Curious to know how the experienced folks out there do it …