AStar.connectPoints

Creates a segment between the given points. If bidirectional is false, only movement from id to to_id is allowed, not the reverse direction.

More...
struct AStar
@nogc nothrow
void
connectPoints
(
in long id
,
in long to_id
,
in bool bidirectional = true
)

Detailed Description

var astar = AStar.new() astar.add_point(1, Vector3(1, 1, 0)) astar.add_point(2, Vector3(0, 5, 0)) astar.connect_points(1, 2, false)

Meta