make soft bodies more compatible with rigid body API: disable setCollisionShape (it would delete the shape passed in!)
This commit is contained in:
@@ -606,6 +606,13 @@ public:
|
||||
/* dtor */
|
||||
virtual ~btSoftBody();
|
||||
/* Check for existing link */
|
||||
|
||||
|
||||
virtual void setCollisionShape(btCollisionShape* collisionShape)
|
||||
{
|
||||
//don't do anything, due to the internal shape hack: todo: fix this
|
||||
}
|
||||
|
||||
bool checkLink( int node0,
|
||||
int node1) const;
|
||||
bool checkLink( const Node* node0,
|
||||
|
||||
Reference in New Issue
Block a user