Colliding A Rotated Rect

BlitzMax Forums/BlitzMax Programming/Colliding A Rotated Rect

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

I want to be able to use collision on a long, thin rect that covers a line from any two points, and so is rotated at any angle rather than being parellel to the edge of the screen. How should I go about doing this? Is CollideRect affected by rotation like images are? Is there a better way of doing it?