empty scene node

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
pin3
Posts: 108
Joined: Fri Oct 06, 2006 8:50 pm
Contact:

empty scene node

Post by pin3 »

how do I create an empty scene node, like ogre would let you create a node (without geometry)and then attach to it things.
cobra
Posts: 371
Joined: Fri Jan 23, 2009 2:56 am
Location: United States
Contact:

Post by cobra »

Code: Select all

ISceneNode *myEmptySceneNode = sceneManager->addEmptySceneNode(myParentSceneNode);

myEmptySceneNode->setPosition(relativePosition);
relativePosition is a vector3df.

http://irrlicht.sourceforge.net/docu/cl ... d550678187
Josiah Hartzell
Image
pin3
Posts: 108
Joined: Fri Oct 06, 2006 8:50 pm
Contact:

Post by pin3 »

Thanks cobra!
Post Reply