How does Pathfinding Service Work?

Hello! I’m trying to learn Roblox Scripting, how does pathfinding service work? What can I do with it? please break it down.

1 Like

PathfindingService automatically makes a path that can help move a humanoid to a certain location, all while avoiding obstacles.

This tutorial should help you:

3 Likes

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.

1 Like

Let me know if you need anything else!

1 Like

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.

3 Likes