I am brand new to the forums and generally to Panda3D, so a very quick newbie question.
I have created a level in Maya2012 and given the names bomb_01, bomb_02 etc… to a number of the meshes.
When I load the model up in Panda using loader.loadModel. I try and use .findAllMatches("**/bomb*) on the NodePath to get all those particular nodes …however it always returns an empty list…is there a step I am missing?
when i try and print out the child nodes of the model it only prints one node which is the mesh its self.
I’m guessing you have accidentally exported the model from Maya as an animated character, instead of as a static model. When you do this, it writes the syntax " { 1 }" into the egg file, and this tells Panda to optimize the model by default into a single mesh.
For this and other reasons, it’s much better to export the model correctly as a static model. The correct way to do this depends on the precise mechanism by which you exported it.
Hi David,
Thank you for your quick reply. I am using the cmd line exporter… (mainly because maya 2012 doesn’t like the .mel script)…the command i am using to export is maya2egg2012 -a model -o outfile.egg infile.mb…
.I thought it it might be something like that but I didnt think I was export it as an actor. thank you for the help… I might see if i can use that utility to pull out named nodes and stop the exporter from combining them