//create a scene node Ogre::SceneNode* node = sceneMgr->createSceneNode(); //set node position node->setPosition(10.0f, 20.0f, 30.0f);
//get an existing scene node Ogre::SceneNode* node = sceneMgr->getSceneNode("MyNode"); //set node position node->setPosition(Ogre::Vector3(100.0f, 0.0f, -50.0f));In this example, we retrieve an existing scene node named "MyNode" and set its position to (100, 0, -50). Package Library: cpp ogre