Bug fixes and minor features (#2)

- 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
This commit is contained in:
Erin Catto 2026-05-12 15:24:20 -07:00 • committed by GitHub
commit 7216822064
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
50 changed files with 759 additions and 360 deletions

View file

@ -2452,7 +2452,6 @@ public:
bodyDef.type = b3_dynamicBody;
bodyDef.allowFastRotation = true;
bodyDef.enableContinuousCollision = false;
bodyDef.rotation = b3ComputeQuatBetweenUnitVectors( b3Vec3_axisY, b3Vec3_axisZ );
// b3Hull* hull = b3CreateCylinder( 0.25f, 0.4f, 0.0f, 16 );