I've been working a bit on a program and I was wondering if there was a way to detect collision of two non-rectangular objects.
I have an object with a triangular shape, and whenever my mouseDetector object touches the corner of the PNG boundaries (not touching the visible part of the triangle), it counts as a collision.
Is there any way to work around that?