make soft bodies more compatible with rigid body API: disable setCollisionShape (it would delete the shape passed in!)
This commit is contained in:
@@ -143,7 +143,7 @@ public:
|
||||
|
||||
virtual ~btCollisionObject();
|
||||
|
||||
void setCollisionShape(btCollisionShape* collisionShape)
|
||||
virtual void setCollisionShape(btCollisionShape* collisionShape)
|
||||
{
|
||||
m_collisionShape = collisionShape;
|
||||
m_rootCollisionShape = collisionShape;
|
||||
|
||||
Reference in New Issue
Block a user