In the image above - the image on the right is drawn with zero rotation and draws as expected:
Code: Select all
v.rotation = 0 -- radians
love.graphics.draw(IMAGE[v.imagetype], v.x, v.y, v.rotation, 1, 1, 0,0)
The image on the left is rotated by 90 degrees:
Code: Select all
v.rotation = math.pi / 2 -- 90 degrees clockwise expressed as radians
love.graphics.draw(IMAGE[v.imagetype], v.x, v.y, v.rotation, 1, 1, 0,0)
How do I rotate/transform the image dimensions so that it really rotates and is not just appear to rotate. If I can do that then my bounding box mouse clicks will start to work as expected.