public float GetOptimalFrontDistance() { return(MinimumFrontDistance + (FrontDistancePerSpeed * Mathf.Pow(vehicle.GetCurrentSpeed(), 2))); }
bool IsStopped() { return(vehicle.GetCurrentSpeed() < MinSpeedThreshold); }
public float GetOptimalFrontDistance() { return(MinimumFrontDistance + (FrontDistancePerSpeed * Mathf.Pow(vehicle.GetCurrentSpeed(), 2))); }
bool IsStopped() { return(vehicle.GetCurrentSpeed() < MinSpeedThreshold); }