Dynamically Add/Remove opjects to a scene?

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
LonnieTC
Posts: 10
Joined: Thu Dec 09, 2004 12:48 am

Dynamically Add/Remove opjects to a scene?

Post by LonnieTC »

Hello All,

thanks for the replies that I have received on my previous questions.

Is it possible to easily add and remove objects from a BSP or other loaded scene?

thanks,
Lonnie
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Until BSP is loaded like a mesh, so you canoot delete something within BSP. If your scene consist several bsp or other nodes, then you can delete these nodes separately.
LonnieTC
Posts: 10
Joined: Thu Dec 09, 2004 12:48 am

Post by LonnieTC »

So does this imply that I can:

1. have several BSP nodes (levels) that make up my scene?

2. After a BSP "World" is loaded, then I can dynamically add objects like boxes, models, spheres, etc.... to x,y,z coordinate locations and remove them later?

thanks
Lonnie
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Yes, obviosly your scene can consist many of bsp/levels/, 3ds, obj, x or other meshes.
You can add these object with SceneManager and remove too.
Post Reply