Detecting overlapping display objects

I have a rectangle object that is rotated a variable number of degrees. I’d like to detect if this display object overlaps any other objects.

Comparing the display objects contentBounds doesn’t work for rotated images.

Any ideas? [import]uid: 22457 topic_id: 7935 reply_id: 307935[/import]

Looking for a similar solution myself. Any direction is appreciated. Trying to achieve a simple “hitTest” with two objects without using the full physics engine. Would be overkill in this case. [import]uid: 42963 topic_id: 7935 reply_id: 29196[/import]

I wrote a hitTest function that detects overlaps, but it relies on contentBounds so I guess wouldn’t work for your situation:
http://developer.anscamobile.com/code/flashs-hittestobject-emulated-using-contentbounds

Perhaps you can modify my function to account for rotation? [import]uid: 12108 topic_id: 7935 reply_id: 29198[/import]