Can you fade away characters?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
soysauce
Posts: 2
Joined: Sun May 02, 2004 10:41 am

Can you fade away characters?

Post by soysauce »

I want one of my game characters to be able to fade into nothingness. Is there a way to do this, besides the instanteous mySceneNode->setVisible(false)?
Masdus
Posts: 186
Joined: Tue Aug 26, 2003 1:13 pm
Location: Australia

Post by Masdus »

Have you tried the fade out command?
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

if you can set his material as transparent, you should be able to create an animator which will lower the alpha value over a specified period of time.
a screen cap is worth 0x100000 DWORDS
Domarius
Posts: 178
Joined: Thu Mar 11, 2004 9:51 am
Location: Brisbane, QLD, Australia

Post by Domarius »

Also check the animator object thing (the one that is demonstrated in the Movement example) - it might be able to do it automatically (I haven't checked it myself).
Post Reply