Array of nodes?

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
disanti
Posts: 367
Joined: Sat Jan 17, 2004 1:36 am
Location: California, US
Contact:

Array of nodes?

Post by disanti »

How would I go about making an array of object nodes? So that I could make a bunch of different objects and be able to test them individually.

Example:

ISceneNode* ndoor[4];

That gives me an error.

Thanks~ John DiSanti
________
Native american spirituality dicussion
Last edited by disanti on Tue Feb 22, 2011 7:58 am, edited 1 time in total.
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

What error, that works for me.

Code: Select all

scene::ISceneNode* node[4];
works w/o any problems
The Robomaniac
Project Head / Lead Programmer
Centaur Force
disanti
Posts: 367
Joined: Sat Jan 17, 2004 1:36 am
Location: California, US
Contact:

Post by disanti »

:? I got errors when I tried to do that. Odd, I will try it again XP

Ok, I tried it again and I found what I was doing wrong :P

Thanks for helping me with a... stupid question :roll:
________
Glass Weed Pipe
Post Reply