Roblox API Reference

PathfindingService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (1)

Member index (5)

Type Member History
float EmptyCutoff 309
Instance ComputeRawPathAsync (Vector3 start, Vector3 finish, float maxDistance) 309
Instance ComputeSmoothPathAsync (Vector3 start, Vector3 finish, float maxDistance) 171 309
Instance CreatePath (Dictionary agentParameters = nil) 359
Instance FindPathAsync (Vector3 start, Vector3 finish) 309
57 members inherited from Instance

History

Members

ComputeRawPathAsync On DevHub

This function yields. It will block the calling thread until completion.
This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
start Vector3 none
finish Vector3 none
maxDistance float none

History

Tags: [Yields, Deprecated]

ComputeSmoothPathAsync On DevHub

This function yields. It will block the calling thread until completion.
This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
start Vector3 none
finish Vector3 none
maxDistance float none

History

Tags: [Yields, Deprecated]

CreatePath On DevHub

Name Type Default
agentParameters Dictionary nil

History

EmptyCutoff On DevHub

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [NotReplicated, Deprecated]

FindPathAsync On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
start Vector3 none
finish Vector3 none

History

Tags: [Yields]

Relevant classes (1)