Reduce ghosts (#212)

Full ghost collision handling for sphere, capsule, and hull versus a
single mesh or heightfield. This requires mesh to be built with edge
identification.

Optimized mesh builder.

Removed B3_MAX_MESH_CONTACT_TRIANGLES. You will still hit performance
problems for dense meshes. Fixes #184
This commit is contained in:
Erin Catto 2026-11-10 21:53:10 -08:00 • committed by GitHub
commit 38f2ae1e19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
61 changed files with 17756 additions and 1492 deletions

View file

@ -10,9 +10,13 @@
#include "box3d/box3d.h"
#include <algorithm>
#include <float.h>
#include <imgui.h>
#include <queue>
#include <stdio.h>
#include <string.h>
#include <vector>
enum class ShapeType
{
@ -1621,3 +1625,4 @@ public:
};
static int sampleHollowBox = RegisterSample( "Mesh", "Hollow Box", HollowBox::Create );