08-04-2009, 03:26 AM
Hi All,
i watched the AI. How the AI drives and come to the conclusion that the AI do not use the reverse Gear. In some situation when the car touchs a crash barrier the car has no chance or it cost to many time to get on the road again. In this situation it should use a reverse gear.
This doesn't work. Maybe somebody has a good idea ?
regards Markus
i watched the AI. How the AI drives and come to the conclusion that the AI do not use the reverse Gear. In some situation when the car touchs a crash barrier the car has no chance or it cost to many time to get on the road again. In this situation it should use a reverse gear.
Code:
y1=course of the crash barrier
y2=course of the AI to the road
x=sharpest curve factor
IF y1(x)==y2(x):
use reverse gear
This doesn't work. Maybe somebody has a good idea ?
regards Markus