A* Pathfinding Project  4.3.2
The A* Pathfinding Project for Unity 3D
JobHardCollisions Struct Reference

Public Member Functions

void Execute (int startIndex, int count)
 

Public Attributes

SimulatorBurst.AgentData agentData
 
bool allowBoundsChecks => false
 
const float CollisionStrength = 0.8f
 How aggressively hard collisions are resolved. More...
 
NativeArray< float2 > collisionVelocityOffsets
 
float deltaTime
 
bool enabled
 
NativeArray< int > neighbours
 

Additional Inherited Members

- Properties inherited from IJobParallelForBatch
bool allowBoundsChecks [get]
 

Member Function Documentation

◆ Execute()

void Execute ( int  startIndex,
int  count 
)

Implements IJobParallelForBatch.

Member Data Documentation

◆ agentData

◆ allowBoundsChecks

bool allowBoundsChecks => false

◆ CollisionStrength

const float CollisionStrength = 0.8f

How aggressively hard collisions are resolved.

Should be a value between 0 and 1.

◆ collisionVelocityOffsets

NativeArray<float2> collisionVelocityOffsets

◆ deltaTime

float deltaTime

◆ enabled

bool enabled

◆ neighbours

NativeArray<int> neighbours

The documentation for this struct was generated from the following file: