• Advertisement
Sign in to follow this  

Creating Terrain in 3Ds Max and loading its information Bullet Physics

This topic is 1909 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 have created a terrain with heights using 3Ds Max, now I am looking to load its information into Bullet Physics so it act like in physical world, I have tried using btConvexHullShape to load the terrain information from .x file:
btConvexHullShape* groundShape = new btConvexHullShape((btScalar*)btVertices, numOfVertices, sizeof(btVector3));

It's not working as expected, am I loading the terrain correctly?

I am looking to load the terrain from DirectX .x file (LPD3DXMESH).

Share this post


Link to post
Share on other sites
Advertisement
Of course not!

  1. Do you at least know what a convex hull is?
  2. How can you ever expect it to work?
  3. Have you at least read the manual?
  4. What do you think it's happening?

I see you're posting plenty of questions, most of which appear variations of the same problem. You should really consider not doing that.

Share this post


Link to post
Share on other sites
Hi Krohm,

I posted around 4 questions and they are different, I thought convex hull can work since I remember it worked with me once, you didn't provide a real answer, how should I load terrain information into Bullet Physics.

I have started using Bullet Physics few days ago.

Share this post


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

  • Advertisement