Quantcast
Channel: Answers for "Getting enemy to move towards player untill they collide problem..."
Browsing latest articles
Browse All 6 View Live

Answer by BenKurdziel

You don't have a catch for collision in that code. So it will do that no matter what, even if you collide. Put a Box Collider around the enemy and set it to IsTrigger. Check OnTriggerEnter (other :...

View Article


Answer by Alex808

The player can completely stop moving the enemy will move forward towards the player and within a certain distance the enemy will start to orbit around the player instead of colliding with the player ..

View Article

Browsing latest articles
Browse All 6 View Live