Need Help in Vehicle Simulation of BEPUphysics

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
xnaProfile369
Posts: 3
Joined: Fri Dec 27, 2013 8:41 am

Need Help in Vehicle Simulation of BEPUphysics

Post by xnaProfile369 »

Hello Everyone,

I have started using Xna just a few years back and I want to develop games with it now, but to enhance the gameplay I am using BEPUphysics for physics simulation and I am making a Vehicle Simulation game but it seems there are no tutorials or documentation on the Vehicle Simulation. So, right now I am stuck and need help badly, if you can suggest me some tutorials or docs please give it or just give me a small vehicle simulation project to start with.

Thanks for your help in Advance!
Reply Soon!
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Need Help in Vehicle Simulation of BEPUphysics

Post by Norbo »

Check out the BEPUphysicsDemos in the main source download. The VehicleInput class shows how to set up and control a Vehicle class. You can press "V" in most demos to control the vehicle.

It's also possible to make vehicles without using the Vehicle class. The Vehicle is specialized and 'faked'- the wheels don't really exist, they're just queries against nearby geometry. In contrast, the TankDemo, SuspensionCarDemo, SuspensionCarDemo2, and ReverseTrikeDemo show how to use systems of joints and entities to set up vehicle-like things. These joint-based cars are usually computationally heavier than the Vehicle class, but they can sometimes produce more interesting effects depending on what you're going for.
xnaProfile369
Posts: 3
Joined: Fri Dec 27, 2013 8:41 am

Re: Need Help in Vehicle Simulation of BEPUphysics

Post by xnaProfile369 »

Thank you for your reply, now I think I should get away right on it!

Thanks again!
Post Reply