Documentation

Unity Engine


Unity Engine


avoidancePredictionTime

Describes how far in the future the agents predict collisions for avoidance.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public static float avoidancePredictionTime { get; set; }

Remarks

The larger the value, the earlier the agents will start to avoid each other if they are on collision course. The value is measured in seconds. Default value is 2.0, a good range for tuning is between 0.5 and 5.0.