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

@ -0,0 +1,9 @@
filter,base,generations,shape,tunnels,awake,depth4,depth8,depth16,depth32
all,12345,1000,box,0,0,1538,220,3,0
all,12345,1000,capsule,0,0,14507,3488,28,0
all,12345,1000,cylinder,0,0,11210,2353,37,0
all,12345,1000,sphere,0,0,56,0,0,0
all,12345,16000,box,0,0,23676,3191,44,0
all,12345,16000,capsule,0,0,231496,54552,515,0
all,12345,16000,cylinder,0,0,178981,37441,480,0
all,12345,16000,sphere,0,0,987,0,0,0
1 filter base generations shape tunnels awake depth4 depth8 depth16 depth32
2 all 12345 1000 box 0 0 1538 220 3 0
3 all 12345 1000 capsule 0 0 14507 3488 28 0
4 all 12345 1000 cylinder 0 0 11210 2353 37 0
5 all 12345 1000 sphere 0 0 56 0 0 0
6 all 12345 16000 box 0 0 23676 3191 44 0
7 all 12345 16000 capsule 0 0 231496 54552 515 0
8 all 12345 16000 cylinder 0 0 178981 37441 480 0
9 all 12345 16000 sphere 0 0 987 0 0 0