Difference between revisions of "API:Class/PathfindingService"

(Created page with "{{APIClassPage |Description=Used to calculate a Path between two points in a game world. }}")
 
Line 1: Line 1:
 
{{APIClassPage
 
{{APIClassPage
 
|Description=Used to calculate a [[API:Class/Path|Path]] between two points in a game world.
 
|Description=Used to calculate a [[API:Class/Path|Path]] between two points in a game world.
 +
|Tutorials=[[Pathfinding]]
 
}}
 
}}

Revision as of 00:26, 7 January 2016

Filtered-inheritance mode: While this class technically inherits all Instance class members, some (if not all) have been hidden because they serve no purpose for this object.
Service: This class is a service. It is a top-level singleton which can be obtained with the GetService method.
Uncreatable: This object cannot be created with Instance.new.

Forcefield icon.pngPathfindingService : Object Icon.pngInstance

Used to calculate a Path between two points in a game world.

Properties

PropertiesmemberhiddenProperties [toggle]

floatEmptyCutoff [deprecated]

Deprecated. Do not use.

|RMD member="API:Class/PathfindingService/EmptyCutoff"|Deprecated. Do not use.|/RMD|
EmptyCutoff [deprecated]
Deprecated. Do not use.

YieldFunctions

YieldFunctionsmemberhiddenYieldFunctions [toggle]

PathFindPathAsync ( Vector3 start, Vector3 finish )

Finds a path between the two provided points.

|RMD member="API:Class/PathfindingService/FindPathAsync"|Finds a path between the two provided points.|/RMD|
InstanceComputeRawPathAsync ( Vector3 start, Vector3 finish, float maxDistance ) [deprecated]

Deprecated. Do not use.

|RMD member="API:Class/PathfindingService/ComputeRawPathAsync"|Deprecated. Do not use.|/RMD|
InstanceComputeSmoothPathAsync ( Vector3 start, Vector3 finish, float maxDistance ) [deprecated]

Deprecated. Do not use.

|RMD member="API:Class/PathfindingService/ComputeSmoothPathAsync"|Deprecated. Do not use.|/RMD|
FindPathAsync ( Vector3 start, Vector3 finish )
Finds a path between the two provided points.
ComputeRawPathAsync ( Vector3 start, Vector3 finish, float maxDistance ) [deprecated]
Deprecated. Do not use.
ComputeSmoothPathAsync ( Vector3 start, Vector3 finish, float maxDistance ) [deprecated]
Deprecated. Do not use.


|RMD member="API:Class/PathfindingService"|Used to calculate a Path between two points in a game world. |/RMD|



Tutorials Used In

Pathfinding