I have looked around for an answer to this for some time now,
I use the code from tutorial 7 (Collision), I load my MY3D file into the engine, It works very good and no problem there at all, I can collision detect and all that.
Next step is that I need to get the id from the nodes, it says that 18 nodes is created when it load my MY3d file.
QUESTION :
Do these 18 nodes get an id by the engine when it reads in the MY3D file into or do I have to assign the ids?
Node id
-
- Posts: 12
- Joined: Thu Mar 30, 2006 2:18 pm
- Location: Sweden
- Contact:
If you had a look at the documentation you'd see that the id is set tu -1 by default... ![Wink ;)](./images/smilies/icon_wink.gif)
So you'll have to set the IDs on your own...
![Wink ;)](./images/smilies/icon_wink.gif)
So you'll have to set the IDs on your own...
while(!asleep) sheep++;
IrrExtensions:![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
![Image](http://abusoft.g0dsoft.com/Irrlicht/gfx/logo.jpg)
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
-
- Posts: 12
- Joined: Thu Mar 30, 2006 2:18 pm
- Location: Sweden
- Contact: