Sets the acceleration.x/y property on the game object so it will move towards the x/y coordinates at the given rate (in pixels per second squared)
You must give a maximum speed value, beyond which the game object won't go any faster.
Note: The game object does not continuously track the target. If the target changes location during transit the game object will not modify its course. Note: The game object doesn't stop moving once it reaches the destination coordinates.
Any Game Object with an Arcade Physics body.
The x coordinate to accelerate towards.
The y coordinate to accelerate towards.
The acceleration (change in speed) in pixels per second squared.
The maximum x velocity the game object can reach.
The maximum y velocity the game object can reach.
The angle (in radians) that the object should be visually set to in order to match its new velocity.