Mesh Collider internal edge collision

Post Reply
MikeC
Posts: 1
Joined: Mon Nov 29, 2021 11:28 pm

Mesh Collider internal edge collision

Post by MikeC »

Is there a setting to turn off internal edge collision between two coplanar triangles? I've been reading in some past bullet posts about this issue and there was previously a "thing" called btInternalEdgeUtility but it doesn't seem to exist now. I'm *actually* using ammo.js and the only setting I've found on the mesh collider is a convex checkbox. That does actually fix the issue, however, my mesh collider is supposed to include a hole (a golf game) and that gets optimized out when I flip on the convex setting. I was just wondering if there is some value that can be tweaked to tune this issue out.

Thanks,
Mike

EDIT: Would setting the margin on the collision shape help with this? I don't have access to that atm because cocos creator doesn't expose it, but I'm asking if they can.
Post Reply