newbie Mesh question

Problems building or running the engine, queries about how to use features etc.
Post Reply
seth_k
Gnoblar
Posts: 8
Joined: Tue Feb 08, 2005 8:57 pm

newbie Mesh question

Post by seth_k »

how do I attach a manually created mesh (say, with MeshMananger::createPlane) to a scene node? Im sorry for the newbieness but I just cant seem to find it.
User avatar
DWORD
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 1365
Joined: Tue Sep 07, 2004 12:43 pm
Location: Aalborg, Denmark
Contact:

Post by DWORD »

You just call SceneManager::createEntity() with the name of the mesh you created, and then attach it as usual to a SceneNode with SceneNode::attachObject().
Post Reply