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?
4 replies to this topic
Sponsor:
#2 Members - Reputation: 1031
Posted 21 November 2012 - 02:06 AM
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.
Edited by Steve_Segreto, 21 November 2012 - 02:07 AM.
Love DAOC? Tryout my DAOC clone: https://dl.dropboxusercontent.com/u/8974528/VON_Dist.zip
#3 Members - Reputation: 375
Posted 21 November 2012 - 05:38 AM
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.
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.
#4 Members - Reputation: 1031
Posted 21 November 2012 - 06:27 PM
Love DAOC? Tryout my DAOC clone: https://dl.dropboxusercontent.com/u/8974528/VON_Dist.zip
#5 Members - Reputation: 375
Posted 21 November 2012 - 11:27 PM
I tried to download this source code before I even posted this, the link http://code.google.com/p/game-ws/ is broken.






