Fix Rim position
This commit is contained in:
@@ -205,7 +205,7 @@ public class ModelList
|
||||
"erlRim2_RH",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(60f, 65f, -15f), // offset to the port
|
||||
new Vector3(59.25f, 65f, -14f), // offset to the port
|
||||
Quaternion.Euler(-180, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
@@ -217,7 +217,7 @@ public class ModelList
|
||||
"erlRim2_RV",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(-105f, 65f, -15f), // offset to the port
|
||||
new Vector3(-104.75f, 65f, -14.3f), // offset to the port
|
||||
Quaternion.Euler(-180, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
@@ -229,7 +229,7 @@ public class ModelList
|
||||
"erlRim2_LV",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(-105f, -44f, -15f), // offset to the port
|
||||
new Vector3(-105.32f, -44f, -14f), // offset to the port
|
||||
Quaternion.Euler(0, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
@@ -241,8 +241,8 @@ public class ModelList
|
||||
"erlRim2_LH",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge1"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(60f, -44f, -15f), // offset to the port
|
||||
Quaternion.Euler(-180, 0, 0),
|
||||
new Vector3(59.4f, -43.07f, -14.09f), // offset to the port
|
||||
Quaternion.Euler(0, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
ModelListColors.ColorAluminiumScratched
|
||||
@@ -254,7 +254,7 @@ public class ModelList
|
||||
"erlRim3_RH",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(60f, 65f, -15f), // offset to the port
|
||||
new Vector3(59.25f, 65f, -14f), // offset to the port
|
||||
Quaternion.Euler(-180, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
@@ -266,7 +266,7 @@ public class ModelList
|
||||
"erlRim3_RV",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(-105f, 65f, -15f), // offset to the port
|
||||
new Vector3(-105f, 65f, -14f), // offset to the port
|
||||
Quaternion.Euler(-180, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
@@ -278,7 +278,7 @@ public class ModelList
|
||||
"erlRim3_LV",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(-105f, -44f, -15f), // offset to the port
|
||||
new Vector3(-105.5f, -44f, -14f), // offset to the port
|
||||
Quaternion.Euler(0, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
@@ -290,7 +290,7 @@ public class ModelList
|
||||
"erlRim3_LH",
|
||||
Resources.Load<Mesh>($"Model/ERLbach/Felge3"),
|
||||
Resources.Load<Material>($"Material/AluminiumScratched"),
|
||||
new Vector3(60f, -44f, -15f), // offset to the port
|
||||
new Vector3(59f, -45.5f, -14f), // offset to the port
|
||||
Quaternion.Euler(-180, 0, 0),
|
||||
new Vector3(1f, 1f, 1f),
|
||||
null,
|
||||
@@ -430,11 +430,11 @@ public class ModelList
|
||||
new ModelElement(PortDef.ERL_TIRE_LH, "Tire LH", "erlTire1_LH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null),
|
||||
new ModelElement(PortDef.ERL_RIM_LH, "Standard Rim", "erlRim1_LH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumScratched),
|
||||
new ModelElement(PortDef.ERL_TIRE_LV, "Tire LV", "erlTire1_LV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null),
|
||||
new ModelElement(PortDef.ERL_RIM_LV, "Standard Rim", "erlRim1_LV", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumScratched),
|
||||
new ModelElement(PortDef.ERL_RIM_LV, "Standard Rim", "erlRim1_LV", Resources.Load<Material>($"Material/AluminiumScratched"), new Vector3(0f, -0.25f, 0f), Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumScratched),
|
||||
new ModelElement(PortDef.ERL_TIRE_RH, "Tire RH", "erlTire1_RH", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null),
|
||||
new ModelElement(PortDef.ERL_RIM_RH, "Standard Rim", "erlRim1_RH", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumScratched),
|
||||
new ModelElement(PortDef.ERL_TIRE_RV, "Tire RV", "erlTire1_RV", Resources.Load<Material>($"Material/CarTire"), Vector3.zero, Quaternion.identity, Vector3.one, null, null),
|
||||
new ModelElement(PortDef.ERL_RIM_RV, "Standard Rim", "erlRim1_RV", Resources.Load<Material>($"Material/AluminiumScratched"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumScratched),
|
||||
new ModelElement(PortDef.ERL_RIM_RV, "Standard Rim", "erlRim1_RV", Resources.Load<Material>($"Material/AluminiumScratched"), new Vector3(0f, 0.25f, 0f), Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumScratched),
|
||||
new ModelElement(PortDef.ERL_BODY, "Body", "idErlbachPart84", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumPolished),
|
||||
new ModelElement(PortDef.ERL_BUMPER_BACK, "Rear Bumper", "idErlbachPart85", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumPolished),
|
||||
new ModelElement(PortDef.ERL_DRL_OUTLINE, "Front Bumper", "idErlbachPart86", Resources.Load<Material>($"Material/AluminiumPolished"), Vector3.zero, Quaternion.identity, Vector3.one, null, ModelListColors.ColorAluminiumPolished),
|
||||
|
||||
Reference in New Issue
Block a user