Seeking
Makes entities speed up towards their closest neighbor.
SeekingJob
Internally, the behavior finds an entity's closest neigbhor. It gives a direction towards it and speed greater than or higher that the neigbor's. The strengths and speed grow as the distance to the neighbor decreases.
This behavior outputs the following:
DesiredDirection- Direction to the closest neighbor.DirectionDesire- From0toDirectionStrengthas distance to the neighbor goes fromMaxDistanceto0.DesiredSpeed- FromMinChaseSpeedto target's speed plusMaxSpeedOverPreyas distance to the neighbor goes fromMaxDistanceto0.SpeedDesire- From0toDirectionStrengthas distance to the neighbor goes fromMaxDistanceto0.Priority-Priority(constant)
SeekingComponent
- Activation
MaxSpeedOverPrey- Maximum speed to chase will be the target's speed plus this.MinChaseSpeed- Minimum speed to chase at.
BaseDataMaxDistance- Maximum distance where neighbors will be detected.MaxAngle- Maximum field of view angle where neighbors will be detected.DirectionStrength- MultipliesDirectionDesire.SpeedStrength- MultipliesSpeedDesire.Priority- Priority.