Pathfinding

The Pathfinding service allows you to trace a path (start to end) for a humanoid character to walk.

Function

Description

ComputePath(StartPosition: Vector3, EndPosition: Vector3): {Vector3}

Computes a path from a starting position to an ending position using Roblox's pathfinding service. Requires 2 arguments: StartPosition (of type Vector3) representing the starting point and EndPosition (of type Vector3) representing the destination. Returns a table of Vector3s representing the computed path.

Last updated