Use kart LOD effect earlier, we just don't see any animations for karts as soon as they're no more directly next to the player
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
af29a627ce
commit
97849f2623
@ -1657,7 +1657,7 @@ void Kart::loadData(RaceManager::KartType type, Track* track, bool animatedModel
|
||||
scene::ISceneNode* staticModel = m_kart_model->attachModel(false);
|
||||
scene::ISceneNode* animatedModelNode = m_kart_model->attachModel(animatedModel);
|
||||
LODNode* node = new LODNode(irr_driver->getSceneManager()->getRootSceneNode(), irr_driver->getSceneManager());
|
||||
node->add(100, animatedModelNode, true);
|
||||
node->add(50, animatedModelNode, true);
|
||||
node->add(500, staticModel, true);
|
||||
m_node = node;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user