Hey
So I’ve got a scene set up using a point graph, some of the points are attached to a wall and go up vertically (at a 90 degree angle so no slopes). The AI character can navigate any points that are on the ground but as soon as the target is above them, they map out a route but can’t go up.
I need my AI to move around without the influence of gravity. The script I’ve been using is the AI Follow script which uses the Character Controller which is the issue as that uses gravity. If I turn gravity off the character doesn’t move at all.
Is there any way I can get my AI to navigate throughout the nodes without any influence of gravity?
Thanks
Hi
If you remove the CharacterController it will fall back to using Transform.Translate, that might work (I am not sure if it sets the y coordinate of the velocity to 0 or not, but if it does it should be easy enough to remove that).
The AI Follow component depends on the character controller so I can’t delete it. I have commented out that line in the script and disabled to controller as a test, it will map out a path but it won’t move.
Ah, I thought the AIFollow script had that fallback.
Which leads to my next question. The AIFollow script is deprecated and has been listed as deprecated for more than a year now. Why are you using that script instead of the other ones?