Skip to content

Instantly share code, notes, and snippets.

@DarkSector
Created July 15, 2011 13:21
Show Gist options
  • Save DarkSector/1084660 to your computer and use it in GitHub Desktop.
Save DarkSector/1084660 to your computer and use it in GitHub Desktop.
Ogre::Entity OgreEnt = mSceneMgr->createEntity("Ogre","ogrehead.mesh");
Ogre::SceneNode* node = mSceneMgr->createSceneNode("Node1")
mSceneMgr->GetRootSceneNode()->addChildNode(node);
node->attachObject(OgreEnt);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment