Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My AI Thesis
04-24-2010, 07:03 AM,
#8
 
Quote:Anyway, I can not find GAME::UpdateCarWheelCollisions()
It is gone. I guessed you would use an old version.

For the latest version you need to have a COLLISION_WORLD. You also need to load the track (load the objects, surfaces) and add it to the collision world game.cpp line 1786. There is no way to add track objects manually to the collision world atm, sorry.

To run the simulation have a look at AdvanceGameLogic() in game.cpp line 582.
In your main loop you need to run: collision.Update(TickPeriod()); UpdateCar(*i, TickPeriod());

If you are not using a car you have to update cardynamics manually.
Reply


Messages In This Thread
My AI Thesis - by fresbeeplayer - 03-07-2010, 10:49 PM
[No subject] - by NaN - 03-08-2010, 11:57 AM
[No subject] - by fresbeeplayer - 03-08-2010, 04:33 PM
Re: My AI Thesis - by joevenzon_phpbb2_import3 - 03-08-2010, 11:18 PM
[No subject] - by fresbeeplayer - 04-23-2010, 07:01 PM
[No subject] - by NaN - 04-24-2010, 02:29 AM
[No subject] - by fresbeeplayer - 04-24-2010, 06:19 AM
[No subject] - by NaN - 04-24-2010, 07:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)