Jump to content

I'm not sure how to approach the plan, but I want to make a 10-degree tilt on a Rectangle object in XNA. I have two options:

 

Option 1:

Draw a tilted rectangle on-hand. However, the bounding box of the rectangle will be set at 0-degree tilt.

 

Option 2:

Draw a 0-degree tilt rectangle. I have no idea how to tilt the object

 

Spoiler

 

Link to comment
https://linustechtips.com/topic/769867-tilted-rectangle-collision/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×