Struct JobRVO Extends IJobParallelForBatch
Public
Inner Types
Public Methods
DebugTrace
(agentIndex, prev, current, stepIndex)
Public
EvaluateGradient
(agentIndex, vos, p, value, desiredVelocity)
Evaluate gradient and value of the cost function at velocity p.
Public
Execute
(startIndex, batchSize)
Public
GenerateNeighbourAgentVOs
(agentIndex, velocityObstacles, neighbours)
Public
GradientDescent
(agentIndex, vos, sampleAround1, sampleAround2, desiredVelocity)
Public
Trace
(agentIndex, vos, p, score, desiredVelocity, iterations, stepSize)
Traces the vector field constructed out of the velocity obstacles.
Public
Public Static Methods
BiasDesiredVelocity
(vos, desiredVelocity, targetPointInVelocitySpace, maxBiasRadians)
Bias towards the right side of agents.
Public
Static
DrawVO
(circleCenter, radius, origin)
Public
Static
FromXZ
(p)
(x, 0, y)
Public
Static
Rainbow
(v)
Public
Static
Sqr
(x)
Public
Static
Public Variables
agentData
Public
allowBoundsChecks
Public
collisionStrength
Should be in the range [0,1].
Public
deltaTime
Public
DesiredVelocityWeight
Public
MaxObstacleCount
Public
output
Public
quadtree
Public
symmetryBreakingBias
Public
temporaryAgentData
Public