don't add collision shapes to the list twice
This commit is contained in:
@@ -206,7 +206,6 @@ struct CommonRigidBodySetup : public CommonPhysicsSetup
|
||||
btBoxShape* createBoxShape(const btVector3& halfExtents)
|
||||
{
|
||||
btBoxShape* box = new btBoxShape(halfExtents);
|
||||
m_collisionShapes.push_back(box);
|
||||
return box;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user