Degenerate scenarios can lead to a huge number of manifolds per contact.
This creates memory and performance problems. So I'm capping them to 8
using cheap heuristics for culling.
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
Added a compile time option to use double precision body positions. Most
math remains single precision with minimal performance loss.
`BOX3D_DOUBLE_PRECISION`
Improved accuracy of body inertia computation when shapes are far from
the body origin.
WARNING: several APIs changed but migration should be straight forward
if doubles are not enabled.
Save memory when there are many duplicate hulls. Can improve performance
in some cases.
For consistency with b3MeshData, b3Hull is renamed to b3HullData.
- Fixed mesh point culling for vertically stacked points
- Fixed two point capsule vs capsule normal
- Fixed bug where body flags can go out of sync
- Added tests
- Updated benchmarks
- API to query compounds directly.
- Fix some uninitialized stuff (thanks MSAN).
- Fix for store impulses on overflow.
- AABB margin reduced for small shapes
- body contact recycling option
- angular threshold for contact recycling
- reduce AABB margin on smaller shapes
- fix for hull vs tri when axis aligned
- fully locked rotation uses zero inverse inertia