Programming Vehicle Simulation
I have recently started programming a ''game'' that involves a vehicle over some terrain. I''ve got it moving around on a flat terrain, but obviously I want to create an uneven landscape.
I''m planning on having a height map, so I want to use that in some way to determine the height of the vehicle, and the pitch and roll of the vehicle.
I''m basically after somewhere to start.
I like getting books, and making sure I understand as best as possible what i''m writing, so if there are any books that anyone thinks would help, that would be great.
But also and tutorials on the net, any general advice, or actual algorithms for this would be great.
I imagine there are a great many ways to do this, so perhaps that''s why i''m finding it hard to track anything down.
Really, I could do with someone who has programmed such a thing to give me help.
ANY help is appreciated,
Thank you
Tricks of the 3D Game Programming Gurus by Andre LaMothe would be perfect. It even has the source code and a driving simulation with a jeep and uneven terrain. This sounds exactly like what you are trying to do.
Sincerely,
Randy Trulson
www.GamePotato.com
www.NeuronGames.com
Sincerely,
Randy Trulson
www.GamePotato.com
www.NeuronGames.com
simply align your vehicle with the tangent line of the path of the landscape your vehicle is on
just do some measurement of your terrain jeep proportion and use the laws of physics
e.g.: speed *kinetic energy* gravity *Massenträgheit(in english?)* ....
e.g.: speed *kinetic energy* gravity *Massenträgheit(in english?)* ....
That book (Tricks of the 3D Game Programming Gurus) seems to have been given good reviews, but it seems to imply that it is a book for learning DirectX. I''ve already gone through a book to get me the basics of that.
But if you are right that one of the examples is for a jeep on terrain, that would be a great help.
But what about his other book:
''Tricks of the 3D Game Programming Gurus: Advanced 3D Graphics and Rasterization''
This seems to cover 3D programming stuff, including engines.
How good is this example of a driving simulation? Can you tell me more?
I don''t want to buy it and find out it''s of no use.
I am still open to oher suggestions, if anyone else has any ideas.
Thanks
But if you are right that one of the examples is for a jeep on terrain, that would be a great help.
But what about his other book:
''Tricks of the 3D Game Programming Gurus: Advanced 3D Graphics and Rasterization''
This seems to cover 3D programming stuff, including engines.
How good is this example of a driving simulation? Can you tell me more?
I don''t want to buy it and find out it''s of no use.
I am still open to oher suggestions, if anyone else has any ideas.
Thanks
you can always use a physics engine for that sort of stuff. ODE, or tokamak seem the obvious choices. they have examples of vehicles on a terrain.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement