Special handling for sliding along interior edges of a mesh?

Please don't post Bullet support questions here, use the above forums instead.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Special handling for sliding along interior edges of a mesh?

Post by Erwin Coumans »

When dealing with static geometry, artifacts can happen when sliding over borders between triangles. Do people have special code to mark interior edges? Convex decomposition? Special ways of keeping contact points persistent from one triangle to the next?
Erin Catto
Posts: 316
Joined: Fri Jul 01, 2005 5:29 am
Location: Irvine

Post by Erin Catto »

I mark interior edges as concave (includes flat) or convex. I don't create contact points for concave or flat edges. This has been 100% robust.

For polytopes I think it is best to ignore edge-edge contact with trimesh altogether. Instead, I use the best face (on the polytope or the tri face). I reached this design after much pain. :?