Bullet 2.49 released, deformable environment triangle meshes

Open source Bullet Physics SDK release information
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Bullet 2.49 released, deformable environment triangle meshes

Post by Erwin Coumans »

Bullet 2.49 is released (minor bug-fixes for Bullet 2.48a)

A refit function for the bounding volume hierarchy (btOptimizedBvh, quantized stackless aabb tree) has been added. This allows to refit the tree when the triangle meshes are deforming.

See the ConcaveDemo for an example how to use this new feature. Objects might deactivate early when animating slowly, so be careful with activation strategies.

Note that some features like setAngularFactor, and custom friction model callbacks don't work yet with the 'cache friendly' solver mode.
If you rely on those features, you can switch to original (non-cache-friendly) solver mode:

Code: Select all

btSequentialImpulseConstraintSolver* solver = new btSequentialImpulseConstraintSolver;
//default solverMode is  SOLVER_CACHE_FRIENDLY and SOLVER_RANDMIZE_ORDER.

//Switch back to original solver (non-cache friendly):

solver->setSolverMode(btSequentialImpulseConstraintSolver::SOLVER_RANDMIZE_ORDER);
Download Bullet 2.49 source code.

Enjoy,
Erwin