I will make zombie game~
But i have Two problems.
I made mesh and added node~
like this~
IAnimatedMeshSceneNode* Wnode;
IAnimatedMesh* MonsterMesh = smgr->getMesh("x/monster.x");
IAnimatedMesh* CharMesh = smgr->getMesh("x/man.x");
Wnode = smgr->addAnimatedMeshSceneNode( MonsterMesh );
Wnode = smgr->addAnimatedMeshSceneNode( CharMesh );
But i don't know how can i know that i want to look for that i slected mesh in "Wnode"?
and How can i make many copied mesh? I'd like to see many zombies in my monitor.
Thank you for reading~
Hello I just wonder! how can i add many nodes?
-
- Posts: 194
- Joined: Thu Mar 18, 2010 3:31 am
- Contact:
You could try "Wnode->clone()":
http://irrlicht.sourceforge.net/docu/cl ... adbaec95cc
I *love* pointing people at the code documentation. I actually spent painful
hours searching documentation to find this and many other solutions.
http://irrlicht.sourceforge.net/docu/cl ... adbaec95cc
I *love* pointing people at the code documentation. I actually spent painful
hours searching documentation to find this and many other solutions.
LazerBlade
When your mind is racing, make sure it's not racing in a circle.
3d game engine: http://sites.google.com/site/lazerbladegames/home/ray3d
lazerBlade blog: http://lazerbladegames.blogspot.com/
When your mind is racing, make sure it's not racing in a circle.
3d game engine: http://sites.google.com/site/lazerbladegames/home/ray3d
lazerBlade blog: http://lazerbladegames.blogspot.com/