PathfindingLink

Show Deprecated

Beta Feature This class is currently a part of the PathfindingLink beta feature. Eligible developers must enable the feature within Studio and functionality may change.

The code block below constructs a PathfindingLink:


1local link = Instance.new("PathfindingLink", myModel)
2link.Attachment0 = … -- starting point of the link
3link.Attachment1 = … -- end point of the link
4link.Bidirectional = false
5link.Label = "Boat"
6

Summary

Properties

The originating attachment of the link.

The landing attachment of the link.

Enables a path to traverse a link in both directions. The default value is true.

A classifying string to add additional information about the link. This Label is included in the waypoint generated by this link.

Events

Methods

Properties

Attachment0

The originating attachment of the link.

Attachment1

The landing attachment of the link.

IsBidirectional

Enables a path to traverse a link in both directions. The default value is true.

Label

A classifying string to add additional information about the link. This Label is included in the waypoint generated by this link.

Events

Methods