Click or drag to resize

AStarDisconnectPoints Method

Deletes the segment between the given points. If bidirectional is false, only movement from id to to_id is prevented, and a unidirectional segment possibly remains.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void DisconnectPoints(
	int id,
	int toId,
	bool bidirectional = true
)

Parameters

id
Type: SystemInt32

[Missing <param name="id"/> documentation for "M:Godot.AStar.DisconnectPoints(System.Int32,System.Int32,System.Boolean)"]

toId
Type: SystemInt32

[Missing <param name="toId"/> documentation for "M:Godot.AStar.DisconnectPoints(System.Int32,System.Int32,System.Boolean)"]

bidirectional (Optional)
Type: SystemBoolean

[Missing <param name="bidirectional"/> documentation for "M:Godot.AStar.DisconnectPoints(System.Int32,System.Int32,System.Boolean)"]

See Also