I have an airplane.scene file, with a body.mesh.xml, left-wing.mesh.xml, and right-wing.mesh.xml. I want to make each of the objects a different basic, unshaded color, but can’t figure out how to do that. Right now I have
Spatial playerModel = assetManager.loadModel(“Models/Plane/plane.scene”);
playerModel.setMaterial(assetManager.loadMaterial(“Materials/plane.j3m”);
where plane.j3m just has
Material plane : Common/MatDefs/Misc/Unshaded.j3md {
MaterialParameters {
Color: 0.0 0.0 1.0 1.0
}
}
so the whole plane model is blue. If I want to have, say, a blue body and red wings, how would I do that?