diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index 213615707..10eedfc4c 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -437,6 +437,7 @@ void Track::convertTrackToBullet(scene::ISceneNode *node) { std::string image = std::string(core::stringc(t->getName()).c_str()); material=material_manager->getMaterial(StringUtils::getBasename(image)); + if(material->isIgnore()) continue; // Special gfx meshes will not be stored as a normal physics body, // but converted to a collision body only, so that ray tests // against them can be done.