Struct RepairPathJob Extends IJobChunk

Public

Repairs the path of agents.

This job will repair the agent's path based on the agent's current position and its destination. It will also recalculate various statistics like how far the agent is from the destination, and if it has reached the destination or not.

Public Methods

Execute (chunk, unfilteredChunkIndex, useEnabledMask, chunkEnabledMask)
Public

Public Static Methods

Execute (transform, state, shape, movementPlane, destination, managedState, settings, nextCornersScratch, indicesScratch, allocator, onlyApplyPendingPaths)
Public Static
ReachedDesiredOrientation (transform, movementPlane, destination)
Public Static

Public Variables

AgentCylinderShapeTypeHandleRO
Public
AgentMovementPlaneTypeHandleRO
Public
DestinationPointTypeHandleRO
Public
LocalTransformTypeHandleRO
Public
ManagedStateTypeHandleRW
Public
MovementSettingsTypeHandleRO
Public
MovementStateTypeHandleRW
Public
entityManagerHandle
Public
indicesScratch
Public
nextCornersScratch
Public
onlyApplyPendingPaths
Public

Private/Protected Members

MarkerGetNextCorners
Private Static Readonly
MarkerRepair
Private Static Readonly
MarkerUpdateReachedEndInfo
Private Static Readonly