Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Ai moving out of itself

$
0
0
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:
Code (CSharp):
  1. using UnityEngine.AI;
  2. using UnityEngine;
  3.  
  4. public class AI : MonoBehaviour
  5. {
  6.     public float lookRadius = 50f;...
Ai moving out of itself

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>