Node and its children

Hi All,

I'm new to JME. I have small question.

When I create  a Node and attribute it a MaterialState all its children inherit the above MaterialState (and all its of course). but what if I want one of children to have different MaterialState or to have no MaterialState at all?

Thank U in advance

You simply set a new material state for the child, and then this new material state applies. Im not sure about having no materialstate, but there is probably something to remove a materialstate if you look in the javadoc.

Thank u very much for answering me.

I guess it makes sense that I can remove any attribute that I don't want from the parent's node…