in my codes, I want to change the texture for one part of the Actor.
head = pandaActor.find(’**/XXhead’)
print head
the head is null. in commad line it is not found.
in my egg file ,like this:
character {
{ 1 }
“åœºæ™¯æ ¹” {
XXbody {
…
…
XXhead {
XXhead.verts {
0 {
-0.632292 0.0561893 10.4925
m1 { 0.218097 0.323557 }
{ -0.00736606 0.0465075 0.0912761 }
}
1 {
-0.0438385 0.149391 10.4925
m1 { 0.246174 0.32804 }
{ -0.00736606 0.0465075 0.0912761 }
}
So what should I do?
is find a member function in Actor?
what’s the parameter about find function?