How would I start making a custom pathfinding system?

Hello there fellow developers, I am having problems with pathfinding in my path less tower defence game. As lots you may know that the pathfinding system in roblox is very bad and does not work with coroutines and task.spawn() or it doesn’t work in my case.

So I would like to know how would I start off with in creating the ai system. The ai doesn’t need to jump. Can work with multiple enemies at the same time. It also has to be able to change its target midway through it way. And I don’t want to use raycast as it would lag the game alot and another person said it’s inefficient.

I would like to discuss this topic.

i would not say that path finding in Roblox is very bad i would say its very good but here are some videos that could help you make your own system

and if you want to look into robox’s path finding again i also have my own video that shows you how to do path finding using roblox’s path finding on the client side

and if in your tower defence game the enemy’s always walk the same path you can do this

19 Likes