Hi All,
On my growing project I have floating panels for the GUI, since it's easier for me to design I used 9-patch (and I love it!) instead of redesign the panels manually.
But I want them to STOP when collide with each other.
The only idea I had is to create an invisible sprite with the same size of the panel, Pin it to each panel and code the Sprite collision... but I don't like this idea very much.
Is there a way to do a collision for the panels using the 9-patch or it will be just easier with the way I just mentioned?
The shorter/efficient code, the better. Thanks ahead! :)