Jump to content
  • Advertisement
Sign in to follow this  
Medo Mex

Loading .X File Vehicle into Bullet Physics

This topic is 2069 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!