Struct JobNodeWalkability Extends IJob

Public

Calculates for each grid node if it should be walkable or not.

Public Methods

DidHit (hit)
Public
Execute ()
Public

Public Variables

characterHeight

For layered grid graphs, if there's a node above another node closer than this distance, the lower node will be made unwalkable.

Public
layerStride

Number of nodes in each layer.

Public
maxSlope

Max slope in degrees.

Public
nodeNormals
Public
nodePositions
Public
nodeWalkable
Public
unwalkableWhenNoGround

If true, nodes will be made unwalkable if no ground was found under them.

Public
up

Normalized up direction of the graph.

Public
useRaycastNormal

If true, use the normal of the raycast hit to check if the ground is flat enough to stand on.

Public