Talk:Enemy AI That Follows The Character Done Right/@comment-15974427-20150619031529/@comment-173.61.9.78-20150619035514

The code here implements physics in which the enemy has inertia, and accelerates in a direction pointing exactly towards the player.

The Earth has inertia. It accelerates in a direction pointing exactly towards the Sun. It never reaches the location where the Sun is.

- Really, there's actually a lot more interesting physics stuff going on which means what I wrote above is not technically true. But it does serve to illustrate that with this system of inertia and acceleration towards the target, your enemy may well 'orbit' its destination rather than hit it.

Is this really the kind of system you want? A system without inertia is easier to code. A system with inertia but a more intelligent use of acceleration could bring the enemy to exactly the location he wants to be. Which would be best for you?