I have this thing where a thin wall(image) is chasing you. Or better said, is supposed to chase you when you get into his look radius. However, the AI moves out of itself and just runs into the wall. And when I get in his look range he doesn't do anything.
It Happening:
Settings on the Game Object are attached
The AI script:
Ai moving out of itself
It Happening:
Settings on the Game Object are attached
The AI script:
Code (CSharp):
- using UnityEngine.AI;
- using UnityEngine;
- public class AI : MonoBehaviour
- {
- public float lookRadius = 50f;...