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:
parent
d7816a0a58
commit
7216822064
50 changed files with 759 additions and 360 deletions
|
|
@ -2038,7 +2038,7 @@ int b3DynamicTree_Rebuild( b3DynamicTree* tree, bool fullBuild )
|
|||
// considered leaves in the tree rebuild.
|
||||
// Free all internal nodes that have grown.
|
||||
// todo use a node growth metric instead of simply enlarged to reduce rebuild size and frequency
|
||||
// this should be weighed against b3_aabbMargin
|
||||
// this should be weighed against B3_MAX_AABB_MARGIN
|
||||
while ( true )
|
||||
{
|
||||
if ( b3IsLeaf( node ) == true || ( ( node->flags & b3_enlargedNode ) == 0 && fullBuild == false ) )
|
||||
|
|
|
|||
Loading…
Reference in a new issue