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.
Note:
I want to change the part after creating the actor
myactor = Actor(
# part dictionary
{"head":"char/dogMM/dogMM_Shorts-head-mod",
"torso":"char/dogMM/dogMM_Shorts-torso-mod",
"legs":"char/dogMM/dogMM_Shorts-legs-mod"},
# dictionary of anim dictionaries
{"head":{"walk":"char/dogMM/dogMM_Shorts-head-walk",
"run":"char/dogMM/dogMM_Shorts-head-run"},
"torso":{"walk":"char/dogMM/dogMM_Shorts-torso-walk",
"run":"char/dogMM/dogMM_Shorts-torso-run"},
"legs":{"walk":"char/dogMM/dogMM_Shorts-legs-walk",
"run":"char/dogMM/dogMM_Shorts-legs-run"}
})
regards