How to make a npc pathfinding script that actually works
If you've been scratching your head over how to make a npc pathfinding script that doesn't leave your characters stuck in a corner, you're definitely not alone. It's one of those things that sounds simple on paper—just tell the character where to go, right?—but then you realize there are walls, pits, and weirdly shaped furniture in the way. Suddenly, your NPC is moonwalking into a tree. ...