|
-
[HELP] Hittest on Rotating Shapes /w Mouse
HELP!
I've googled for hours and found nothing. I did find a lot but none involved hittesting with a mouse cursor.
Here goes:
I'm trying to make a simple maze game, so far it works, I die when I hit squares and rectangles, but I die incorrectly when hitting a rotating rectangle.
Because it rotates, the bounding box is larger and a normal hittest sees bounding boxes, meaning it won't work.
Could you help?
Make it so that my mouse can go near the rotating rectangle without dying until I actually touch the actual rectangle instead of the bounding box.
THANKS IN ADVANCE.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|