Update btGImpactMeshShape triangle mesh bounds

sebby_man
Posts: 3
Joined: Sun May 06, 2012 12:48 am

Update btGImpactMeshShape triangle mesh bounds

Post by sebby_man »

After a collision I deform the vertices in the btGImpactMeshShape. From what I've found online, the proper way to update the triangle mesh bounds is done with:

postUpdate();
updateBound();

But this has no effect. The projectile objects just go right through the floor. The collision is fine if I don't deform the vertices.