Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualFlimflam

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 


#1Flimflam

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 


PARTNERS