Fix floating Erlbach and bike scale

This commit is contained in:
FlorianSpeicher
2025-07-08 19:26:10 +02:00
parent 2faccb48d7
commit 80ce0bdfa9
2 changed files with 7 additions and 7 deletions

View File

@@ -9502,8 +9502,8 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 540709789} m_GameObject: {fileID: 540709789}
serializedVersion: 2 serializedVersion: 2
m_LocalRotation: {x: 0, y: 0.9848078, z: -0, w: -0.17364809} m_LocalRotation: {x: 0.017187309, y: 0.9846578, z: -0.0030305844, w: -0.17362164}
m_LocalPosition: {x: 50, y: -8, z: -156} m_LocalPosition: {x: 50, y: -11.38, z: -156}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
@@ -9516,7 +9516,7 @@ Transform:
- {fileID: 8235377786220246498} - {fileID: 8235377786220246498}
- {fileID: 5261689698408490819} - {fileID: 5261689698408490819}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 200, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 200, z: 2}
--- !u!1 &543359266 --- !u!1 &543359266
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@@ -27386,7 +27386,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1591058970} m_GameObject: {fileID: 1591058970}
m_Enabled: 0 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 01614664b831546d2ae94a42149d80ac, type: 3} m_Script: {fileID: 11500000, guid: 01614664b831546d2ae94a42149d80ac, type: 3}
m_Name: m_Name:
@@ -27447,7 +27447,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1591058970} m_GameObject: {fileID: 1591058970}
m_Enabled: 1 m_Enabled: 0
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2518c50cb3fc6a6458d4b743c2f69c7d, type: 3} m_Script: {fileID: 11500000, guid: 2518c50cb3fc6a6458d4b743c2f69c7d, type: 3}
m_Name: m_Name:

View File

@@ -30,9 +30,9 @@ public class ModelList
"bike", "bike",
Resources.Load<Mesh>("Model/Bicycle/Models/Low-Poly Bicycle"), Resources.Load<Mesh>("Model/Bicycle/Models/Low-Poly Bicycle"),
Resources.Load<Material>($"Material/Default"), Resources.Load<Material>($"Material/Default"),
new Vector3(0, -1.17f, 1f), new Vector3(0, -1.065f, 1f),
Quaternion.Euler(0, 90f, 0), Quaternion.Euler(0, 90f, 0),
Vector3.one, new Vector3(1.5f, 1.5f, 1.5f), // scale up the model
new List<Port> new List<Port>
{ {
Port.Choosable("Back Frame", Definitions.PORT_BIKE_FRAME, "idBikeAttachments", Vector3.zero), Port.Choosable("Back Frame", Definitions.PORT_BIKE_FRAME, "idBikeAttachments", Vector3.zero),