Basically: I need a method to make a “spider” be able to navigate through a cave with an optimal pathfinding AI.
The spider is able to go on walls and ceilings, and I want the output to be a series of “waypoints” spaced x studs apart (will be set 4 studs apart but I want to be able to change it if needed). I would prefer that the waypoints are CFrames tangent to the surface that it is on but pointing towards the direction of the next waypoint.
The spider will need to be able to navigate from point A to point B, and it can climb on any surface; terrain and parts. For now, just ignore the size of the spider, it can fit through any size hole.
I am just wondering if anyone knows a good method to do this. I can make the script myself, but I can’t figure out the process it should use.
If you need something clarified let me know, thanks, any help is appreciated, including suggestions of other path-finding algorithms that I could possibly adapt.