Hi guys,
Yesterday I downloaded Rain AI and have been looking at some tutorials on youtube. After following a tutorial, I should have an AI that patrols and chases the player if the player gets detected.
The problem that I encountered is the following:
I’m using an first person controller script and it’s using the unity character controller (the script is from the asset store. I added an entity as a child of this player object. But when I move, the entity object does not move along with the player object. The entity object stays on the starting position of the player object while the player just moves around the scene. So what happens is: if the AI patrols and finds the entity, it moves towards the entity of the player. The ai stops moving afterwards because he is still detecting the entity. But.. the actual player object is somewhere else.
I tried to check what happened if I made an object in another scene and adding an entity + rigidbody. In that scene, the entity does follow the player and the ai will work like it should behave.
Anyone that can point out what I’m missing to make the entity move along with the character controller object?
-
This topic was modified 2 months, 3 weeks ago by Kirito.
-
This topic was modified 2 months, 3 weeks ago by Kirito.