• Advertisement
Sign in to follow this  

dynamic trimesh problems in physx

This topic is 3032 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

hi, i am biginner in nvidia physx.....and want to make a simple car race game......i have the vertics and faces of the car......now i load them on physx...i made NxTriangleMeshShapeDesc dynamic but it causes weird problems......... i found that physx doesn't support dynamic trimesh....but i want them..... Is there any solution for it........ thanx..

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by crazy_crab
there should be any way to overcome........anyone have any idea???please........
thanx...


What you want to do is represent your triangle mesh as a convex hull.

Often times this is all that is necessary.

However, if you need a more accurate representation, you can describe it as a set of convex hulls.

The process of converting a triangle mesh into a compound object of convex hulls is called 'Convex Decomposition'.

You can read more about it here:

http://codesuppository.blogspot.com/2006/04/approximate-convex-decomposition.html

If you need code to create a convex decomposition of a triangle mesh, I will see if I can put it together.

John

Share this post


Link to post
Share on other sites
thanx jratcliff63367
for ur brillent and clean discription...........i looked at convex hull in google.....and that link(http://codesuppository.blogspot.com/2006/04/approximate-convex-decomposition.html) u give is great...............if u have any code for convex hull decomposion....please share it........:)
thanx........again....:)

Share this post


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

  • Advertisement