I am making an interactive map. When the mouse hovers over 4 "hitboxes" (n, s, e, w) the map is supposed to move in that direction. However I can't for the life of me figure out how to move objects without them physically rotating. I want the map to move east when I'm hovering over the east hitbox (I guess that is a 0 degree angle?), but I can't make it go to that angle without the map turning on its side.
I tried several things before the hitbox idea (pinning, scrollto, bullets) but I think this is closest to what I want, I just don't know how to move an object without it turning towards that angle.
What I'm using right now is a simple:
if mouse over hitbox
Set angle to (whatever) degrees
Move forward 2 pixels[/code:rpclc47j]
But setting it to, say, 270, makes the whole map flip on its side.