Are there any bullet vehicle demos?

sbroumley
Posts: 15
Joined: Sun Aug 07, 2005 6:31 am
Location: Austin

Are there any bullet vehicle demos?

Post by sbroumley »

Looking over the bullet source code I noticed there is some support for raycast vehicles. Are there any demos available that make use of it?

thanks
-Steve
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Post by Erwin Coumans »

not yet, the vehicle code is just release an hour ago in subversion :)

I will add some basic vehicle demo within a few days. Notice that Blender is using the same vehicle code, here is a video of a recent game that uses the same vehicle code:
http://www.continuousphysics.com/ftp/pu ... 6.2006.mpg


The steps are:

- Create a SimulationEnvironment and a RigidBody,
- Create a special 'vehicle constraint' for this RigidBody, which constraints the motion of the rigidbody (which is the chassis) as if it is a vehicle
- Add some wheels to the vehicleconstraint
- apply steering, wheelforces etc. on the vehicleconstraint.
you can tune things like suspension etc.
sbroumley
Posts: 15
Joined: Sun Aug 07, 2005 6:31 am
Location: Austin

Post by sbroumley »

The video looks pretty cool.

I look forward to seeing how you do the wheel constraints etc.

thanks!