Search found 2 matches

by Audio
Mon Mar 04, 2013 11:27 pm
Forum: Support and Development
Topic: How do you rotate a drawable around a certain point?
Replies: 2
Views: 8152

How do you rotate a drawable around a certain point?

Love2D rotates images around the upper-left corner of an image, What should I do to change the rotation point to somewhere else? Here are the important snippets in my code, since it's too long for you to read: function love.update(dt) Player.HeadRotation = math.atan2( love.mouse.getX() - Player.Posi...