Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
modify AI drivers and track
07-31-2007, 06:11 PM,
#10
 
mpo Wrote:I have seen that i have to modify the function "updateSteer" in the file ai.cpp but with the modify that i have done the car turns on the contrary but don't follow the street..

Well, I can be wrong, I never programmed the ai.
But I think it works as follows: It has a set of vectors that marks the street. from their it calculates the best route.
So if you reverse the set of vectors the AI is going to follow the opposite direction.
Reply


Messages In This Thread
modify AI drivers and track - by mpo - 07-27-2007, 03:17 AM
[No subject] - by rookie1 - 07-28-2007, 05:53 AM
[No subject] - by mpo - 07-31-2007, 05:09 AM
[No subject] - by rookie1 - 07-31-2007, 08:14 AM
[No subject] - by mpo - 07-31-2007, 08:30 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-31-2007, 12:41 PM
[No subject] - by kidrock - 07-31-2007, 01:39 PM
[No subject] - by mpo - 07-31-2007, 01:48 PM
[No subject] - by kidrock - 07-31-2007, 05:04 PM
[No subject] - by FFuser - 07-31-2007, 06:11 PM
[No subject] - by rookie1 - 08-01-2007, 10:13 AM
[No subject] - by mpo - 08-01-2007, 02:17 PM
[No subject] - by rookie1 - 08-02-2007, 07:58 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)