Skip to content

Any plans to support collision between MeshShape? #202

Answered by jrouwe
feixinyv asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,
I started implementing dynamic meshes but I'm still on the fence if they should actually be supported. The reasons being:

  1. Mesh vs mesh collision is incredibly expensive, most games don't have the CPU cycles to spare for this.
  2. With mesh vs mesh collision the only thing you can do is push triangles apart (because there's no concept of solid volume), but depending on how your meshes are constructed this may not actually separate the two meshes so it's easy for things to get stuck, especially if they start with a lot of interpenetration.

I never used dynamic meshes. Normally you would construct your dynamic objects as either a convex hull or as a compound of convex hulls. You can bui…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by feixinyv
Comment options

You must be logged in to vote
1 reply
@feixinyv
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants