Hello! I’m trying to learn Roblox Scripting, how does pathfinding service work? What can I do with it? please break it down.
PathfindingService automatically makes a path that can help move a humanoid to a certain location, all while avoiding obstacles.
This tutorial should help you:
Pathfinding is one of the most useful techniques in ROBLOX! It allows you to set where characters move.
Like @Friendly4Crafter said, that tutorial will be useful to read, but I will break it down.
Pathfinding can be used to make it so characters move around things, not go in to them. It is basically AI made to navigate around things.
Let me know if you need anything else!
PathfindingService computes the path from point A to point B while avoiding obstacles. It returns an array of waypoints which contain their location. It doesn’t move the humanoid automatically. It’s your job to handle that.