fixed btSoftBodyConcaveCollisionAlgorithm, wrong bounding box transformation

added vertex welding option for btTriangleMesh (brute-force slow)
reject appendFace for some degenerate triangles (all 3 vertices/nodes need to be different)
add setVelocity method for btSoftBody
This commit is contained in:
erwin.coumans
2008-09-26 21:59:03 +00:00
parent e0d1c1d057
commit 682a0a1b90
5 changed files with 99 additions and 72 deletions

View File

@@ -677,6 +677,10 @@ public:
int node);
/* Add velocity to the entire body */
void addVelocity( const btVector3& velocity);
/* Set velocity for the entire body */
void setVelocity( const btVector3& velocity);
/* Add velocity to a node of the body */
void addVelocity( const btVector3& velocity,
int node);