Question by
henkesky · May 22, 2016 at 12:54 PM ·
unity 5navmeshagentcarnavigation
How to create car ai that moves around looking for player
Hello everyone, am having problem creating a car ai. I want my car ai to be able to move around in search of gameobject with tag name player. I have tried NavMeshAgent, but the car doesnt face the direction of movement. Instead it moves with back or any side pointing to direction it intends to move, does'nt rotate wheel and it also doesn't play the appropriate high acceleration clip and low acceleration clip as required depending on the speed. It simply plays the low acceleration clip even at high speed. Is there a better way of setting this up. I also noticed that the unity car ai script doesn't avoid obstacles that's why i didn't use it.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612081314im_/https://answers.unity.com/themes/thub/images/avi.jpg)