Minor Changes
This commit is contained in:
@@ -35,11 +35,11 @@ public class ModelList
|
|||||||
new BaseModel(
|
new BaseModel(
|
||||||
"ERL-Bach",
|
"ERL-Bach",
|
||||||
"erlbach",
|
"erlbach",
|
||||||
Resources.Load<Mesh>("Model/ERLbach/ERLBach_skaliert"),
|
Resources.Load<Mesh>("Model/ERLbach/ERLBach_mit_Fenster"),
|
||||||
Resources.Load<Material>($"Material/PVC"),
|
Resources.Load<Material>($"Material/PVC"),
|
||||||
new Vector3(0, 0, 4f), //big car needs big space
|
new Vector3(0, 0, 4f), //big car needs big space
|
||||||
Quaternion.Euler(-90f, 0, 0f), //rotate correctly
|
Quaternion.Euler(-90f, 0, 0f), //rotate correctly
|
||||||
new Vector3(1f,1f,1f), //because model is too big in space
|
new Vector3(0.03f,0.03f,0.03f), //because model is too big in space
|
||||||
new List<Port>
|
new List<Port>
|
||||||
{
|
{
|
||||||
Port.Hidden(PortDef.ERL_CAP_3, "idErlbachPart3", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
|
Port.Hidden(PortDef.ERL_CAP_3, "idErlbachPart3", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 20f)),
|
||||||
@@ -431,7 +431,7 @@ public class ModelList
|
|||||||
new ModelElement(PortDef.ERL_DRL_PLATE, "Headlight", "idErlbachPart93", Resources.Load<Material>($"Material/MetalMesh"), Vector3.zero, Quaternion.identity, Vector3.one, null, null),
|
new ModelElement(PortDef.ERL_DRL_PLATE, "Headlight", "idErlbachPart93", Resources.Load<Material>($"Material/MetalMesh"), Vector3.zero, Quaternion.identity, Vector3.one, null, null),
|
||||||
new ModelElement(PortDef.ERL_WINDOW, "Window", "idErlbachWindow", Resources.Load<Material>($"Material/Glas"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListHelper.ColorGlass),
|
new ModelElement(PortDef.ERL_WINDOW, "Window", "idErlbachWindow", Resources.Load<Material>($"Material/Glas"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListHelper.ColorGlass),
|
||||||
},
|
},
|
||||||
Resources.LoadAll<Mesh>($"Model/ERLbach/ERLBach_skaliert"),
|
Resources.LoadAll<Mesh>($"Model/ERLbach/ERLBach_mit_Fenster"),
|
||||||
1 //skip basemodel
|
1 //skip basemodel
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user