Talk:Enemy AI That Follows The Character Done Right/@comment-5334617-20150609214702/@comment-5334617-20150609232118

It's not that profound, it's the usual way of doing this, so far as I know. When coding, trigonometry is usually avoided where possible. The delta variables are only as 'un-needed' as the  variable you use. There will be no divide-by-zero because of the  statement. It is longer, but it accomplishes more than your code - it includes a test for a situation that most games will want to handle; when the enemy is very close to the player.

On a personal note, I don't find it appropriate being called a 'badass' in this context.