SOLVED. Replacement sub-parts of an Actor panda3d

How can I replace a sub-part of my actor?

I want to replace a sub-part with your “part dictionary” and “dictionary of animation dictionaries” of the part, for example the head, torso, legs, etc.


I want to change the part after creating the actor

myactor = Actor(
    # part dictionary
    # dictionary of anim dictionaries


You can call loadModel() to add parts to an existing Actor. You can call removePart() to remove an existing part.

You can also call hidePart() and showPart() to hide and show existing parts without removing them, which may be an easier and faster way to achieve the same effect, depending on your precise needs.


I found the actor’s properties. thank you very much