Update btSoftBodyCollisionShape to set m_shapeType
This commit is contained in:
@@ -51,7 +51,8 @@ public:
|
||||
|
||||
btSoftBodyCollisionShape(btSoftBody* backptr)
|
||||
{
|
||||
m_body=backptr;
|
||||
m_shapeType = SOFTBODY_SHAPE_PROXYTYPE;
|
||||
m_body=backptr;
|
||||
}
|
||||
|
||||
virtual ~btSoftBodyCollisionShape()
|
||||
@@ -87,10 +88,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
virtual int getShapeType() const
|
||||
{
|
||||
return SOFTBODY_SHAPE_PROXYTYPE;
|
||||
}
|
||||
|
||||
virtual void setLocalScaling(const btVector3& /*scaling*/)
|
||||
{
|
||||
///na
|
||||
|
||||
Reference in New Issue
Block a user