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
Are there any bullet vehicle demos?
-
- Posts: 15
- Joined: Sun Aug 07, 2005 6:31 am
- Location: Austin
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
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.
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.
-
- Posts: 15
- Joined: Sun Aug 07, 2005 6:31 am
- Location: Austin