So I have these objects in my game that when you right-click them they rotate a couple of degrees. the problem is that the shape is rotating but not the collision box. so for example, it's facing up so a ball thats coming from above would bounce back up. If I rotate the object 35 degrees to the right the ball still bounces straight up like it never rotated it even though the sprite position changed.
any ideas on how I could fix this bug?