How can I make an object's hitbox rotate with its texture?
- by Matthew Optional Meehan
In XNA, when you have a rectangular sprite that doesnt rotate, it's easy to get its four corners to make a hitbox. However, when you do a rotation, the points get moved and I assume there is some kind of math that I can use to aquire them.
I am using the four points to draw a rectangle that visually represents the hitboxes.
I have seen some…