How to make a .j3m for a scene file with multiple objects?

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”);


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?