I’m new to panda3d and python. I’ve been coding for about a week and have gotten pretty far but I have a question I can’t seem to find in the API.
The program I am writing creates various objects(bots) with attached child objects(arms). The number of arms is different for each bot. Now, is there are way to create a for loop to cycle through all of the children(arms) of each bot? I want something like:
for child in bot: pos = child.getPos()
I’ve tried the “nodePath.ls()” command but it isn’t recognized.
Thanks, any help would be great.