Translate to Spanish Translate to Portuguese Translate to German Translate to French Translate to Italian
Translate to Japanese Translate to Korean Translate to Russian Translate to Chinese (simplified) Translate to Arabic

Adding A.I. Cars
Step 1


Define at least one reference path for the CPU driven cars.

REMARKS:

  • The Path object is a 3d-spline you can define by providing a list of coordinates (the path nodes).

    While I could type the coordinates manually, or generate them with a third party software, for my purpose the built-in path-recording functionality is the easiest.


  • Run-time, the Path object can record its location.

    I attach the Path object to my car, switch it to 'recording-mode' and then I drive along the race course.


  • Note that, to actually record the path nodes (key locations that define the path) I have to press the [R] key while I drive.

  • You should hear a sound in the movie every time I press the [R] key. The sound you hear when the simulation is started (Project -> Play) signals that the path object is in recording mode.


  • After one lap, I have enough nodes to define a complete path around the track, so I can stop the simulation and go back to the editor.


  • To place the recorded path to its original location I must make sure that its coordinates are identical to the first coordinates recorded.


  • Next page >>

    Please allow some time for the movie above to load. If you can't see the video after a reasonable delay, please click here.