fix for ghost collision on reflected meshes

remove B3_MAX_MESH_CONTACT_TRIANGLES cap
This commit is contained in:
Erin Catto 2026-10-29 23:05:48 -07:00
commit 1a7e09c49d
5 changed files with 336 additions and 130 deletions

View file

@ -1573,9 +1573,7 @@ public:
static int sampleHugeBox = RegisterSample( "Issues", "Huge Box", HugeBox::Create );
// This demonstrates this cap on mesh complexity. B3_MAX_MESH_CONTACT_TRIANGLES
// It generates this warning:
// Box3D: WARNING: complex mesh detected, triangle buffer capacity of 256 reached
// A tilted cylinder whose bounds cover more than 512 height field triangles
class HeightfieldIssue : public Sample
{
public: