find a model inside a model?[solved]

Hi again people. In blender in have two models, one is the character head, and another is the inside mounth area(called “inside” in blender); I exported them as head1.egg, and I tried to acess the inside mounth model, inside this egg file, to set a shader:

head = Actor( "/../graphics/3d/player/head1")
headInside = head.find('**/inside')

But I got this error:

Assertion failed: !is_empty() at line 3590 of panda/src/pgraph/nodePath.cxx

how can I really acess the inside mounth model, which is inside the head1.egg file?

Thanks in advance for any help

For an animated model, you will have to preprocess the egg file with the egg-optchar command, and use the parameter “-flag inside=inside”.


Thanks! How could I not have thought which in chicken exporter manual there is info regarding this