Advertisement

Loading .X File Vehicle into Bullet Physics

Started by November 21, 2012 04:34 AM
3 comments, last by Medo Mex 12 years, 3 months ago
I need suggestion on loading .X file vehicle that I made in 3Ds Max into bullet physics, there will be a single .x file that will contain everything including the vehicle body, wheels, etc..., how do I load those information into bullet so I can have a vehicle acting like in physical world?
The problem is that the X File describes the geometry for rendering purposes. For rigid body physics simulation and vehicle physics you need different, simpler primitives, not to mention lots of non-render information like force, maximum rotation, mass, etc.
Advertisement
Hi Steve,

Do you have any code sample or example? I'm looking to setup a whole vehicle from .x file and add the wheels and chassis as well, of course other information such as mass, force, wheel friction, etc... can be manipulated and bullet will use to decide the transformation for the wheels and the chassis.
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?t=3416
I tried to download this source code before I even posted this, the link http://code.google.com/p/game-ws/ is broken.

This topic is closed to new replies.

Advertisement