[DEV] SmartEnemy (cheap navigation) + little tweak hideAnim

This Week I tried to improve the enemy smartness, this is just a start and is not in the current build.

Enemy Follows u if the player hides behind a wall.
Enemy Goes back the same way he followed u so he does not collide with the terrain anymore (not 100% working yet)
Enemy Stores Backpoints when he sees u. (so he can return easily)
SafetyCheck if for some reason on his way back he gets stuck the enemy will search for an available point next to him so he can run the rest of his remaining path.

When start of hide anim player crouches for a second -> next week player will stay in crouch untill hide anim is done.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s