lvella
18-12-2008 13:38:14
Ok, continuing from topic in Help forum: http://www.ogre3d.org/phpBB2/viewtopic.php?t=46342
I am unfamiliar with the concept of "anchored", but I found out that the problematic scene node is never anchored:
I always get "XXXXXXXXX" on my error output. Is it right?
I am unfamiliar with the concept of "anchored", but I found out that the problematic scene node is never anchored:
node = (Ogre::PCZSceneNode*) pSceneManager->createSceneNode();
if(node->isAnchored())
std::cerr << "!!!!!!!!!!!!!!!!!!!!!!!!!!!!\nANCHORED\n!!!!!!!!!!!!!!!!!!!!!!!!!" << std::endl;
else
std::cerr << "XXXXXXXXX" << std::endl;
node->setScale(scale);
node->setPosition(pos);
node->setHomeZone(zone);
zone->_addNode(node);
if(node->isAnchored())
std::cerr << "!!!!!!!!!!!!!!!!!!!!!!!!!!!!\nANCHORED2\n!!!!!!!!!!!!!!!!!!!!!!!!!" << std::endl;
else
std::cerr << "XXXXXXXXX" << std::endl;
I always get "XXXXXXXXX" on my error output. Is it right?