Maybe this similar thread will help you: Collision detection with rotating crosses (or similar)
Recangles can’t be rotated, but you can calculate where your point would be after rotation and use those points for collision.
Maybe this similar thread will help you: Collision detection with rotating crosses (or similar)
Recangles can’t be rotated, but you can calculate where your point would be after rotation and use those points for collision.