@@ -478,8 +478,8 @@ MonoBehaviour:
trafficSystem: {fileID: 0}
waypointThresh: 2.5
raycastAnchor: {fileID: 7224479432193346459}
- raycastLength: 5
- raySpacing: 8
+ raycastLength: 8
+ raySpacing: 6
raysNumber: 5
emergencyBrakeThresh: 1.5
slowDownThresh: 5
@@ -385,7 +385,7 @@ MonoBehaviour:
waypointThresh: 5
raycastAnchor: {fileID: 1865297059863583701}
raySpacing: 6
emergencyBrakeThresh: 3
@@ -60,6 +60,8 @@ namespace TrafficSimulation{
{
car.transform.LookAt(lookAt);
}
+ VehicleAI ai = car.GetComponent<VehicleAI>();
+ ai.vehicleStatus = Status.GO;
car.SetActive(true);
return car;