|
|
@ -461,7 +461,9 @@ namespace Physic
|
|
|
|
BulletShapeManager::getSingletonPtr()->load(outputstring,"General");
|
|
|
|
BulletShapeManager::getSingletonPtr()->load(outputstring,"General");
|
|
|
|
BulletShapePtr shape = BulletShapeManager::getSingleton().getByName(outputstring,"General");
|
|
|
|
BulletShapePtr shape = BulletShapeManager::getSingleton().getByName(outputstring,"General");
|
|
|
|
|
|
|
|
|
|
|
|
if (placeable && !raycasting && shape->mCollisionShape && shape->mAutogenerated)
|
|
|
|
// TODO: add option somewhere to enable collision for placeable meshes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (placeable && !raycasting && shape->mCollisionShape)
|
|
|
|
return NULL;
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
|
|
|
|
if (!shape->mCollisionShape && !raycasting)
|
|
|
|
if (!shape->mCollisionShape && !raycasting)
|
|
|
|