Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the track tangent angle and middle line
11-08-2006, 11:06 AM,
#1
How to get the track tangent angle and middle line
Trying to develop an AI driver by following Berniew's robot tutorial for TORCS. Currently my code spawns an opponent car, shift to 1st gear and apply some gas. The car is moving forward slow and happy, but in a straight line.

Now comes to the steering part, and i'm lost.

How can i get the tangent angle of the track at the car's current position, and the middle line at that position?
Reply


Messages In This Thread
How to get the track tangent angle and middle line - by rookie1 - 11-08-2006, 11:06 AM
[No subject] - by thelusiv - 11-08-2006, 02:02 PM
[No subject] - by joevenzon_phpbb2_import3 - 11-09-2006, 12:07 AM
[No subject] - by rookie1 - 11-09-2006, 12:59 AM
[No subject] - by thelusiv - 11-10-2006, 04:50 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)