How do I remove something from the environment?

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
Nosvera2
Posts: 16
Joined: Wed May 28, 2008 3:11 am
Location: Van Buren, Arkansas

How do I remove something from the environment?

Post by Nosvera2 »

I know how to add stuff to the environment to be drawn, but how do I remove them? Checked the API and couldn't find it.
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Post by kazymjir »

Hi!
You can use setVisible(), if you want just to not draw node on scene
http://irrlicht.sourceforge.net/docu/cl ... 03afe6838c

or

use remove() if you want completely to remove node from scene
http://irrlicht.sourceforge.net/docu/cl ... 9403b8b69c
Post Reply