Struct JobCalculateConnections Extends IJob

Public

Calculates the grid connections for a single node.

Note that to ensure that connections are completely up to date after updating a node you have to calculate the connections for both the changed node and its neighbours.

In a layered grid graph, this will recalculate the connections for all nodes in the (x,z) cell (it may have multiple layers of nodes).

See

CalculateConnections(GridNodeBase)

Public Methods

Execute ()
Public
IsValidConnection (nodePosA, nodeNormalA, nodeB, up)

Check if a connection to node B is valid.

Public

Public Variables

bounds
Public
cutCorners
Public
maxStepHeight
Public
maxStepUsesSlope
Public
neighbours
Public
neighbourXOffsets
Public
neighbourZOffsets
Public
nodeNormals
Public
nodePositions
Public
nodeWalkable
Public
outNodeConnections
Public
up
Public
use2D
Public