Change this line:
direction = (Vector2)mousePosition - Position; //get the direction from arrow to cursor
to this:
direction = target - Position; //get the direction from arrow to cursor
Posted 28 February 2013 - 05:00 AM
Change this line:
direction = (Vector2)mousePosition - Position; //get the direction from arrow to cursor
to this:
direction = target - Position; //get the direction from arrow to cursor
Posted 28 February 2013 - 04:59 AM
Change this line:
direction = (Vector2)mousePosition - Position; //get the direction from arrow to cursor
to this:
direction = (Vector2)target - Position; //get the direction from arrow to cursor