help Me,
TextureManager.getInstance().addTexture("skin", genieskintex);
TextureManager.getInstance().addTexture("cloth", genieclothtex);
TextureManager.getInstance().addTexture("apha", genieaphatex);
TextureManager.getInstance().addTexture("hair", geniehairtex);
for (Animated3D a : masterNinja) {
a.setTexture("skin");
a.setTexture("cloth");
a.setTexture("apha");
a.setTexture("hair");
}
for (AnimatedGroup group : ninjas) {
for (Animated3D a : group) {
a.setTexture("skin");
a.setTexture("cloth");
a.setTexture("apha");
a.setTexture("hair");
}
}
Then setTexture the last one setTexture("hair"), no setTexture skin, cloth and apha ?