I’m new to panda3d, so I don’t know very much.
I’m creating some empty nodes to group some models. I noticed that to do this I need to choose a name.
My question is how important are these names and for what are they used?
I’m new to panda3d, so I don’t know very much.
I’m creating some empty nodes to group some models. I noticed that to do this I need to choose a name.
My question is how important are these names and for what are they used?
Hi
You can do NodePath searches on the name with the NodePath find function.
nodeP = aParentNodePath.find(“whatever”)
from the documentation:
NodePath find ( string path )
Searches for a node below the referenced node that matches the indicated string.
Returns the shortest match found, if any, or an empty NodePath if no match can be found.