In btCollisionShape* btBulletWorldImporter::convertCollisionShape( btCollisionShapeData* shapeData ), I changed the following...
Code: Select all
if (shape)
{
shape->setMargin(bsd->m_collisionMargin);
btVector3 localScaling;
localScaling.deSerializeFloat(bsd->m_localScaling);
shape->setLocalScaling(localScaling);
}
Code: Select all
if (shape)
{
shape->setMargin(bsd->m_collisionMargin);
btVector3 localScaling;
localScaling.deSerializeFloat(bsd->m_localScaling);
shape->setLocalScaling(localScaling);
m_allocatedCollisionShapes.push_back(shape);
}
I hope this is the right place to post this?