Node id

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
megalomania666
Posts: 12
Joined: Thu Mar 30, 2006 2:18 pm
Location: Sweden
Contact:

Node id

Post by megalomania666 »

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?
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

If you had a look at the documentation you'd see that the id is set tu -1 by default... ;)
So you'll have to set the IDs on your own...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
megalomania666
Posts: 12
Joined: Thu Mar 30, 2006 2:18 pm
Location: Sweden
Contact:

Post by megalomania666 »

Ok... I spent half a day looking around in the forum. :lol:
Post Reply