I made the npc follow player once they are in range. Most of the script was from watch BrawlDev's tutorial. I tried to make the npc pathfind around the killbrick when chasing me, and the waypoints look like it's supposed to do that, but it just walks over the killbrick and dies anyway.
#How do I make them actually pathfind
1 messages · Page 1 of 1 (latest)
make ur own pathfind
never use roblox pathfind
i usually make A* pathfind and use it bc it's just super fast and smart
whats that?
Welcome to the first part in a series teaching pathfinding for video games. In this episode we take a look at the A* algorithm and how it works.
Some great A* learning resources:
http://theory.stanford.edu/~amitp/GameProgramming/
http://www.policyalmanac.org/games/aStarTutorial.htm
Source code: https://github.com/SebLague/Pathfinding
If you'd...
i use raycast for it, but u can do better but itll take like so many times bc im talking abt navmesh
like raycast at like compass direction thingywingy idk how to explain
and u do magic stuff to make it fat radius thingy so it won't get too close to the wall and stuff
its good tho isnt it?