Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

chadz001

Programming Vehicle Simulation

This topic is 5279 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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?)* ....

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
quote:
Original post by Basiror
e.g.: speed *kinetic energy* gravity *Massenträgheit(in english?)* ....


I believe Inertia is what you''re reffering to.

-Luctus
..I''m also moronophobic
[Mail]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!