#Can't figure out how to make my NPC smooth and working correctly

1 messages · Page 1 of 1 (latest)

empty silo
#

I've been trying to learn how to create an AI lately. I took a break from scripting for about two months because I was exhausted from not being able to get it right. I understand the logic behind how it works, but I’m struggling to make it more 'advanced.' By advanced, I mean making it run smoothly without getting stuck or failing to detect small parts.

I usually learn from YouTube tutorials, documentation, or by deconstructing free models, but I just can't find anything accurate. By accurate, I mean something like this: https://youtu.be/OJQuYxRYZlc?t=1011. This is just the first example I found, but it's to help you understand how I want it to be: reactive, constantly updating, and not bugging out.

last gorge
#

well I havent really done any advanced npc pathfinding but from what ive heard you should look into navmesh pathfinding and behaviour trees since the tree will allow it to be reactive and the navmesh will help it not get stuck on small parts.

#

there might be some open source stuff for the nav mesh but the behaviour tree you will probs have to make urself

#

or if that doesnt work I think you can also use a* pathfinding maybe?

steel swallow
#

for your pathfanding

empty silo