diff --git a/vr-configurator/Assets/Scripts/Models/ModelList.cs b/vr-configurator/Assets/Scripts/Models/ModelList.cs index c55f67e..f49d3ac 100644 --- a/vr-configurator/Assets/Scripts/Models/ModelList.cs +++ b/vr-configurator/Assets/Scripts/Models/ModelList.cs @@ -132,7 +132,7 @@ public class ModelList Port.Hidden(PortDef.ERL_BADGE, "idErlbachPart87", Vector3.zero, Quaternion.identity, 1f, new Vector3(50f, 0f, 0f)), Port.Hidden(PortDef.ERL_LP_BASE, "idErlbachPart88", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)), Port.Choosable("License Plate", PortDef.ERL_LP_TC, "erlLP", Vector3.zero, Quaternion.identity, 1f, new Vector3(20f, 0f, 0f)), - Port.Choosable("Grill", PortDef.ERL_GRILL, "erlGrill_1", new Vector3(2.5f, 0f, -0.5f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)), + Port.Choosable("Grill", PortDef.ERL_GRILL, "erlGrill_1", Vector3.zero, Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)), Port.Choosable("Headlight Cover", PortDef.ERL_BUMPER_FRONT, "idErlbachPart92", new Vector3(2.4f, 0f, -5.1f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)), Port.Hidden(PortDef.ERL_DRL_PLATE, "idErlbachPart93", new Vector3(2.1f, 0f, -5.3f), Quaternion.identity, 1f, new Vector3(-20f, 0f, 0f)), Port.Choosable("Window", PortDef.ERL_WINDOW, "idErlbachWindow", Vector3.zero, Quaternion.identity, 1f, new Vector3(0f, 0f, 100f)), @@ -301,7 +301,7 @@ public class ModelList "erlGrill_2", Resources.Load("Model/ERLbach/Grill1"), Resources.Load("Material/AluminiumBrushed"), - new Vector3(-145f, -34.3f, 24.5f), // offset to the port + new Vector3(-142.5f, -34.3f, 24f), // offset to the port new Vector3(2.5f, 0f, -0.5f) Quaternion.Euler(0f, 180f, -90f), // no rotation new Vector3(1f, 1f, 1f), // scale null, // no children @@ -457,7 +457,7 @@ public class ModelList new ModelElement(PortDef.ERL_LP_BASE, "License Plate", "idErlbachPart88", Resources.Load($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumPolished), new ModelElement(PortDef.ERL_LP_TEXT, "License Plate Content", "idErlbachPart89", Resources.Load($"Material/Universal"), Vector3.zero, Quaternion.identity, Vector3.one, null, null), new ModelElement(PortDef.ERL_LP_COUNTRY, "Erlbach Part 90", "idErlbachPart90", Resources.Load($"Material/Universal"), Vector3.zero, Quaternion.identity, Vector3.one, null, null), - new ModelElement(PortDef.ERL_GRILL, "Standard Grill", "erlGrill_1", Resources.Load($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumBrushed), + new ModelElement(PortDef.ERL_GRILL, "Standard Grill", "erlGrill_1", Resources.Load($"Material/AluminiumBrushed"), new Vector3(2.5f, 0f, -0.5f), Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumBrushed), new ModelElement(PortDef.ERL_BUMPER_FRONT, "Headlight Cover", "idErlbachPart92", Resources.Load($"Material/AluminiumBrushed"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumBrushed), new ModelElement(PortDef.ERL_DRL_PLATE, "Headlight", "idErlbachPart93", Resources.Load($"Material/MetalMesh"), Vector3.zero, Quaternion.identity, Vector3.one, null, null), new ModelElement(PortDef.ERL_WINDOW, "Window", "idErlbachWindow", Resources.Load($"Material/Glas"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListColors.ColorGlass),