set a smaller dt for deformable_ball.py for stability and typo fix

This commit is contained in:
Xuchen Han
2019-11-25 15:46:21 -08:00
parent abd7a556e1
commit 39df98465e
3 changed files with 4 additions and 5 deletions

View File

@@ -2460,7 +2460,7 @@ bool btSoftBody::checkDeformableFaceContact(const btCollisionObjectWrapper* colO
// const btTransform& wtr = colObjWrap->getWorldTransform();
btScalar dst;
#define USE_QUADRATURE 1
//#define USE_QUADRATURE 1
//#define CACHE_PREV_COLLISION
// use the contact position of the previous collision