Stop a scene node from being drawn?

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
jack
Posts: 13
Joined: Tue Oct 30, 2007 7:48 pm

Stop a scene node from being drawn?

Post by jack »

Hi,

I would like to stop another player from being drawn once they move too far away from me. I am able to identify this case correctly, and I stop processing their movement data.

However, the last movement data I was able to get means their player model remains in this position, stationary until they come back into range. Is there such a way to disable a node from being drawn by Irrlicht so I can literally make them invisible until I want to draw them again?
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

maybe node->setVisible(bool) ???
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Post Reply