Browse Source

crank torque

wwdmbvbb 3 years ago
parent
commit
66514524ef

BIN
Assets/Models/bike.fbx


+ 599 - 0
Assets/Prefabs/bike.prefab

@@ -0,0 +1,599 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!54 &8258381598497262940
+Rigidbody:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 2067593564285107479}
+  serializedVersion: 2
+  m_Mass: 80
+  m_Drag: 0
+  m_AngularDrag: 0.05
+  m_UseGravity: 1
+  m_IsKinematic: 0
+  m_Interpolate: 0
+  m_Constraints: 0
+  m_CollisionDetection: 0
+--- !u!65 &661936204816670187
+BoxCollider:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 2067593564285107479}
+  m_Material: {fileID: 0}
+  m_IsTrigger: 0
+  m_Enabled: 1
+  serializedVersion: 2
+  m_Size: {x: 0.5064228, y: 1.696604, z: 2.176724}
+  m_Center: {x: 0.01322907, y: 0.1491416, z: -0.0662173}
+--- !u!146 &1114450093037361515
+WheelCollider:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 2376339252895989277}
+  m_Center: {x: 0, y: -0.12, z: 0}
+  m_Radius: 0.645
+  m_SuspensionSpring:
+    spring: 1000
+    damper: 100
+    targetPosition: 0
+  m_SuspensionDistance: 0.03
+  m_ForceAppPointDistance: 0
+  m_Mass: 0.25
+  m_WheelDampingRate: 0.25
+  m_ForwardFriction:
+    m_ExtremumSlip: 0.4
+    m_ExtremumValue: 1
+    m_AsymptoteSlip: 0.8
+    m_AsymptoteValue: 0.5
+    m_Stiffness: 1
+  m_SidewaysFriction:
+    m_ExtremumSlip: 0.2
+    m_ExtremumValue: 1
+    m_AsymptoteSlip: 0.5
+    m_AsymptoteValue: 0.75
+    m_Stiffness: 1
+  m_Enabled: 1
+--- !u!146 &1145190927022711558
+WheelCollider:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 2983065473420313266}
+  m_Center: {x: 0, y: -0.12, z: 0}
+  m_Radius: 0.645
+  m_SuspensionSpring:
+    spring: 1000
+    damper: 100
+    targetPosition: 0
+  m_SuspensionDistance: 0.03
+  m_ForceAppPointDistance: 0
+  m_Mass: 0.25
+  m_WheelDampingRate: 0.25
+  m_ForwardFriction:
+    m_ExtremumSlip: 0.4
+    m_ExtremumValue: 1
+    m_AsymptoteSlip: 0.8
+    m_AsymptoteValue: 0.5
+    m_Stiffness: 1
+  m_SidewaysFriction:
+    m_ExtremumSlip: 0.2
+    m_ExtremumValue: 1
+    m_AsymptoteSlip: 0.5
+    m_AsymptoteValue: 0.75
+    m_Stiffness: 1
+  m_Enabled: 1
+--- !u!146 &1180331394519338368
+WheelCollider:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 8910001810198465706}
+  m_Center: {x: 0, y: -0.12, z: 0}
+  m_Radius: 0.645
+  m_SuspensionSpring:
+    spring: 1000
+    damper: 100
+    targetPosition: 0
+  m_SuspensionDistance: 0.03
+  m_ForceAppPointDistance: 0
+  m_Mass: 0.25
+  m_WheelDampingRate: 0.25
+  m_ForwardFriction:
+    m_ExtremumSlip: 0.4
+    m_ExtremumValue: 1
+    m_AsymptoteSlip: 0.8
+    m_AsymptoteValue: 0.5
+    m_Stiffness: 1
+  m_SidewaysFriction:
+    m_ExtremumSlip: 0.2
+    m_ExtremumValue: 1
+    m_AsymptoteSlip: 0.5
+    m_AsymptoteValue: 0.75
+    m_Stiffness: 1
+  m_Enabled: 1
+--- !u!146 &7248122829866591880
+WheelCollider:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 5581853305329813621}
+  m_Center: {x: 0, y: -0.12, z: 0}
+  m_Radius: 0.645
+  m_SuspensionSpring:
+    spring: 1000
+    damper: 100
+    targetPosition: 0
+  m_SuspensionDistance: 0.03
+  m_ForceAppPointDistance: 0
+  m_Mass: 0.25
+  m_WheelDampingRate: 0.25
+  m_ForwardFriction:
+    m_ExtremumSlip: 0.4
+    m_ExtremumValue: 1
+    m_AsymptoteSlip: 0.8
+    m_AsymptoteValue: 0.5
+    m_Stiffness: 1
+  m_SidewaysFriction:
+    m_ExtremumSlip: 0.2
+    m_ExtremumValue: 1
+    m_AsymptoteSlip: 0.5
+    m_AsymptoteValue: 0.75
+    m_Stiffness: 1
+  m_Enabled: 1
+--- !u!81 &6479492030967917596
+AudioListener:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 5653032748629657262}
+  m_Enabled: 1
+--- !u!114 &5628736955449887133
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 5653032748629657262}
+  m_Enabled: 0
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: be76e5f14cfee674cb30b491fb72b09b, type: 3}
+  m_Name: 
+  m_EditorClassIdentifier: 
+  boost: 3.5
+  positionLerpTime: 0.2
+  mouseSensitivityCurve:
+    serializedVersion: 2
+    m_Curve:
+    - serializedVersion: 3
+      time: 0
+      value: 0.5
+      inSlope: 0
+      outSlope: 5
+      tangentMode: 0
+      weightedMode: 0
+      inWeight: 0
+      outWeight: 0
+    - serializedVersion: 3
+      time: 1
+      value: 2.5
+      inSlope: 0
+      outSlope: 0
+      tangentMode: 0
+      weightedMode: 0
+      inWeight: 0
+      outWeight: 0
+    m_PreInfinity: 2
+    m_PostInfinity: 2
+    m_RotationOrder: 4
+  rotationLerpTime: 0.01
+  invertY: 0
+--- !u!114 &5540889756231226796
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 5653032748629657262}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
+  m_Name: 
+  m_EditorClassIdentifier: 
+  m_RenderShadows: 1
+  m_RequiresDepthTextureOption: 2
+  m_RequiresOpaqueTextureOption: 2
+  m_CameraType: 0
+  m_Cameras: []
+  m_RendererIndex: -1
+  m_VolumeLayerMask:
+    serializedVersion: 2
+    m_Bits: 1
+  m_VolumeTrigger: {fileID: 0}
+  m_RenderPostProcessing: 1
+  m_Antialiasing: 1
+  m_AntialiasingQuality: 2
+  m_StopNaN: 0
+  m_Dithering: 0
+  m_ClearDepth: 1
+  m_RequiresDepthTexture: 0
+  m_RequiresColorTexture: 0
+  m_Version: 2
+--- !u!1001 &1184720160537559110
+PrefabInstance:
+  m_ObjectHideFlags: 0
+  serializedVersion: 2
+  m_Modification:
+    m_TransformParent: {fileID: 0}
+    m_Modifications:
+    - target: {fileID: -8964782224729766598, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: -8679921383154817045, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_LocalPosition.x
+      value: -0.32264856
+      objectReference: {fileID: 0}
+    - target: {fileID: -8679921383154817045, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_LocalPosition.y
+      value: 1.447
+      objectReference: {fileID: 0}
+    - target: {fileID: -8679921383154817045, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_LocalPosition.z
+      value: 3.4451144
+      objectReference: {fileID: 0}
+    - target: {fileID: -8679921383154817045, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_LocalRotation.x
+      value: 0
+      objectReference: {fileID: 0}
+    - target: {fileID: -8679921383154817045, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_LocalRotation.y
+      value: 0
+      objectReference: {fileID: 0}
+    - target: {fileID: -8679921383154817045, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_LocalRotation.z
+      value: 0
+      objectReference: {fileID: 0}
+    - target: {fileID: -8679921383154817045, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_LocalRotation.w
+      value: 1
+      objectReference: {fileID: 0}
+    - target: {fileID: -8679921383154817045, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_RootOrder
+      value: 0
+      objectReference: {fileID: 0}
+    - target: {fileID: -8679921383154817045, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_LocalEulerAnglesHint.x
+      value: 0
+      objectReference: {fileID: 0}
+    - target: {fileID: -8679921383154817045, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_LocalEulerAnglesHint.y
+      value: 90
+      objectReference: {fileID: 0}
+    - target: {fileID: -8679921383154817045, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_LocalEulerAnglesHint.z
+      value: 0
+      objectReference: {fileID: 0}
+    - target: {fileID: -8068618336793034927, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: ede382684b7501b47b38004738176916, type: 2}
+    - target: {fileID: -7777294230038026022, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: -3522955778539423533, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+    - target: {fileID: -7777294230038026022, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[1]
+      value: 
+      objectReference: {fileID: -6478536213147159724, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+    - target: {fileID: -7727585954045309876, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: ede382684b7501b47b38004738176916, type: 2}
+    - target: {fileID: -7106319747242219477, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 405c6cef9e9af6f4098ac36fd4103d1d, type: 2}
+    - target: {fileID: -6994037691031455177, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: -3522955778539423533, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+    - target: {fileID: -6994037691031455177, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[1]
+      value: 
+      objectReference: {fileID: -6478536213147159724, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+    - target: {fileID: -6819667076973497921, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 405c6cef9e9af6f4098ac36fd4103d1d, type: 2}
+    - target: {fileID: -6167769085360878587, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_GateFitMode
+      value: 2
+      objectReference: {fileID: 0}
+    - target: {fileID: -6167769085360878587, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_SensorSize.x
+      value: 36
+      objectReference: {fileID: 0}
+    - target: {fileID: -6167769085360878587, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_SensorSize.y
+      value: 24
+      objectReference: {fileID: 0}
+    - target: {fileID: -6167769085360878587, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_FocalLength
+      value: 50
+      objectReference: {fileID: 0}
+    - target: {fileID: -6167769085360878587, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Depth
+      value: -1
+      objectReference: {fileID: 0}
+    - target: {fileID: -6167769085360878587, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_ForceIntoRT
+      value: 1
+      objectReference: {fileID: 0}
+    - target: {fileID: -4488946741737686221, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 405c6cef9e9af6f4098ac36fd4103d1d, type: 2}
+    - target: {fileID: -4375492345608191346, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: -3522955778539423533, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+    - target: {fileID: -4375492345608191346, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[1]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: -3935697975295018424, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: -3812202117038936525, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: -3775087338775855201, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 405c6cef9e9af6f4098ac36fd4103d1d, type: 2}
+    - target: {fileID: -2582022392163870239, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: -2582022392163870239, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[1]
+      value: 
+      objectReference: {fileID: 2100000, guid: 405c6cef9e9af6f4098ac36fd4103d1d, type: 2}
+    - target: {fileID: -2108268228632479460, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 6699446615349125189, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+    - target: {fileID: -2108268228632479460, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[1]
+      value: 
+      objectReference: {fileID: 880774007180850119, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+    - target: {fileID: -2096384741702613391, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: ede382684b7501b47b38004738176916, type: 2}
+    - target: {fileID: -1437982698811222838, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 90a43de59354d7c46912e14ce85c4649, type: 2}
+    - target: {fileID: -1226755378300543462, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 5d95f12fcb2edc14ab4d5b7c738d3990, type: 2}
+    - target: {fileID: -414369610477303398, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: -316753148161959918, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: 184430789871839411, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: ede382684b7501b47b38004738176916, type: 2}
+    - target: {fileID: 618760392273741382, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: -3522955778539423533, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+    - target: {fileID: 919132149155446097, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Name
+      value: bike
+      objectReference: {fileID: 0}
+    - target: {fileID: 1690611540075476792, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: 2637184142026896911, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 405c6cef9e9af6f4098ac36fd4103d1d, type: 2}
+    - target: {fileID: 2867055310439812374, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 90a43de59354d7c46912e14ce85c4649, type: 2}
+    - target: {fileID: 3619183099738535706, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 90a43de59354d7c46912e14ce85c4649, type: 2}
+    - target: {fileID: 3753871577093658729, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 405c6cef9e9af6f4098ac36fd4103d1d, type: 2}
+    - target: {fileID: 5206418428019084733, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: -2813467912831258332, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+    - target: {fileID: 5914995206918255792, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 405c6cef9e9af6f4098ac36fd4103d1d, type: 2}
+    - target: {fileID: 6020364371552236336, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: 6326231394693774024, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: 6715522729502238661, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.size
+      value: 2
+      objectReference: {fileID: 0}
+    - target: {fileID: 6715522729502238661, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: 6715522729502238661, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[1]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: 6774368082290624232, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_TagString
+      value: MainCamera
+      objectReference: {fileID: 0}
+    - target: {fileID: 6911080015322917149, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: 7069324508287236490, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 90a43de59354d7c46912e14ce85c4649, type: 2}
+    - target: {fileID: 7865797641938074549, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: ede382684b7501b47b38004738176916, type: 2}
+    - target: {fileID: 8059665069997856321, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: 90a43de59354d7c46912e14ce85c4649, type: 2}
+    - target: {fileID: 8813010391991248323, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    - target: {fileID: 9147477617488133104, guid: ca43b9e694d1cf941bad96c91b75a041,
+        type: 3}
+      propertyPath: m_Materials.Array.data[0]
+      value: 
+      objectReference: {fileID: 2100000, guid: b967e872709db284b8b17da1924d1dc9, type: 2}
+    m_RemovedComponents: []
+  m_SourcePrefab: {fileID: 100100000, guid: ca43b9e694d1cf941bad96c91b75a041, type: 3}
+--- !u!1 &2067593564285107479 stripped
+GameObject:
+  m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: ca43b9e694d1cf941bad96c91b75a041,
+    type: 3}
+  m_PrefabInstance: {fileID: 1184720160537559110}
+  m_PrefabAsset: {fileID: 0}
+--- !u!1 &2376339252895989277 stripped
+GameObject:
+  m_CorrespondingSourceObject: {fileID: -5725610867949863333, guid: ca43b9e694d1cf941bad96c91b75a041,
+    type: 3}
+  m_PrefabInstance: {fileID: 1184720160537559110}
+  m_PrefabAsset: {fileID: 0}
+--- !u!1 &2983065473420313266 stripped
+GameObject:
+  m_CorrespondingSourceObject: {fileID: -5110175403005803788, guid: ca43b9e694d1cf941bad96c91b75a041,
+    type: 3}
+  m_PrefabInstance: {fileID: 1184720160537559110}
+  m_PrefabAsset: {fileID: 0}
+--- !u!1 &8910001810198465706 stripped
+GameObject:
+  m_CorrespondingSourceObject: {fileID: -1452877322202755860, guid: ca43b9e694d1cf941bad96c91b75a041,
+    type: 3}
+  m_PrefabInstance: {fileID: 1184720160537559110}
+  m_PrefabAsset: {fileID: 0}
+--- !u!1 &5581853305329813621 stripped
+GameObject:
+  m_CorrespondingSourceObject: {fileID: 6703118437785520179, guid: ca43b9e694d1cf941bad96c91b75a041,
+    type: 3}
+  m_PrefabInstance: {fileID: 1184720160537559110}
+  m_PrefabAsset: {fileID: 0}
+--- !u!1 &5653032748629657262 stripped
+GameObject:
+  m_CorrespondingSourceObject: {fileID: 6774368082290624232, guid: ca43b9e694d1cf941bad96c91b75a041,
+    type: 3}
+  m_PrefabInstance: {fileID: 1184720160537559110}
+  m_PrefabAsset: {fileID: 0}

+ 7 - 0
Assets/Prefabs/bike.prefab.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 564d69a76b836eb4aa8660e317b67313
+PrefabImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

File diff suppressed because it is too large
+ 260 - 624
Assets/Scenes/SampleScene.unity


+ 44 - 9
Assets/Scripts/ANT+/PowerMeterReceiver.cs

@@ -23,6 +23,7 @@ public class PowerMeterReceiver
 
     private int instantaneousPower; // the instantaneous power in watt
     private int instantaneousCadence; // crank cadence in RPM if available ( 255 indicates invalid)
+    private float crankTorque;
 
     private AntChannel backgroundScanChannel;
     private AntChannel deviceChannel;
@@ -37,6 +38,8 @@ public class PowerMeterReceiver
 
     public int InstantaneousCadence => instantaneousCadence;
 
+    public float CrankTorque => crankTorque;
+
     private byte[] pageToSend;
 
     public PowerMeterReceiver()
@@ -109,33 +112,65 @@ public class PowerMeterReceiver
         deviceChannel.hideRXFAIL = true;
     }
 
-    int update_event_count = 0;
+    private readonly Dictionary<int, int> updateEventCount = new Dictionary<int, int> {{0x10, 0}, {0x12, 0}};
+
+    private readonly Dictionary<int, int> sameEventCounter = new Dictionary<int, int> {{0x10, 0}, {0x12, 0}};
 
-    int sameEventCounter = 0;
+    private int previousAccumulatedTorqueValue = 0;
+    private int previousTorqueEventCount = 0;
 
     //Deal with the received Data
     private void Data(Byte[] data)
     {
-        if (data[0] == 0x10)
+        if (data[0] == 0x10) // Standard Power-Only Main Data Page
         {
-            if (data[1] == update_event_count)
-                sameEventCounter++;
+            if (data[1] == updateEventCount[0x10])
+                sameEventCounter[0x10]++;
             else
-                sameEventCounter = 0;
+                sameEventCounter[0x10] = 0;
 
-            update_event_count = data[1];
+            updateEventCount[0x10] = data[1];
 
-            if (sameEventCounter > 3)
+            if (sameEventCounter[0x10] > 3)
             {
                 instantaneousPower = 0;
                 instantaneousCadence = 0;
             }
             else
             {
-                instantaneousPower = (data[6]) | data[7] << 8;
+                instantaneousPower = data[6] | data[7] << 8;
                 instantaneousCadence = data[3];
             }
         }
+
+        if (data[0] == 0x12) // Standard Crank Torque Main Data Page
+        {
+            Debug.Log($"Torque Data {data}");
+            if (data[1] == updateEventCount[0x12])
+                sameEventCounter[0x12]++;
+            else
+                sameEventCounter[0x12] = 0;
+
+            updateEventCount[0x12] = data[1];
+
+            if (sameEventCounter[0x12] > 3)
+            {
+                crankTorque = 0;
+            }
+            else
+            {
+                int accumulatedTorque = data[6] | data[7] << 8;
+                float divisor = (32 * (updateEventCount[0x12] - previousTorqueEventCount));
+                if (divisor > 0)
+                {
+                    crankTorque =  (accumulatedTorque - previousAccumulatedTorqueValue) / divisor;
+                }
+                
+                Debug.Log($"instantaneousCrankTorque = {crankTorque}");
+                previousAccumulatedTorqueValue = accumulatedTorque;
+                previousTorqueEventCount = updateEventCount[0x12];
+            }
+        }
     }
 
 

+ 9 - 0
Assets/Scripts/BicyleController/AntSetup.cs

@@ -11,6 +11,7 @@ public class AntSetup : MonoBehaviour
     public int powerMeterId = 0;
     public TextMeshProUGUI powerDisplay;
     public TextMeshProUGUI cadenceDisplay;
+    public TextMeshProUGUI torqueDisplay;
 
     private SpeedSensorReceiver speedSensorReceiver;
     private PowerMeterReceiver powerMeterReceiver;
@@ -18,6 +19,7 @@ public class AntSetup : MonoBehaviour
     private bool speedDisplayAvailable;
     private bool powerDisplayAvailable;
     private bool cadenceDisplayAvailable;
+    private bool torqueDisplayAvailable;
 
     private BicycleController bicycleController;
 
@@ -27,6 +29,7 @@ public class AntSetup : MonoBehaviour
         bicycleController = GetComponent<BicycleController>();
         speedDisplayAvailable = speedDisplay != null;
         powerDisplayAvailable = powerDisplay != null;
+        torqueDisplayAvailable = torqueDisplay != null;
         cadenceDisplayAvailable = cadenceDisplay != null;
         speedSensorReceiver = new SpeedSensorReceiver(speedSensorId, wheelCircumference);
         powerMeterReceiver = new PowerMeterReceiver(powerMeterId);
@@ -39,6 +42,7 @@ public class AntSetup : MonoBehaviour
     {
         //transform.Translate(Vector3.forward * (Time.deltaTime * (speedSensorReceiver?.Speed ?? 0)));
         bicycleController.SetSpeed(speedSensorReceiver?.Speed ?? 0);
+        bicycleController.SetTorque(powerMeterReceiver?.CrankTorque ?? 0); //TODO crank to wheel torque;
         if (speedDisplayAvailable)
         {
             speedDisplay.text = $"{(speedSensorReceiver?.SpeedKmh ?? 0f):n2} km/h";
@@ -53,5 +57,10 @@ public class AntSetup : MonoBehaviour
         {
             cadenceDisplay.text = $"{(powerMeterReceiver?.InstantaneousCadence ?? 0f):0} rpm";
         }
+
+        if (torqueDisplayAvailable)
+        {
+            torqueDisplay.text = $"{(powerMeterReceiver?.CrankTorque ?? 0f):F2} Nm";
+        }
     }
 }

+ 68 - 42
Assets/Scripts/BicyleController/BicycleController.cs

@@ -2,25 +2,34 @@
 using System.Collections.Generic;
 using UnityEngine;
 
+public enum VelocityMode
+{
+    ApplySpeedToRigidBody,
+    ApplyTorqueToWheelCollider,
+    ApplySpeedToWheelCollider
+}
+
 public class BicycleController : MonoBehaviour
 {
-    [Header ("GameObjects")]
-    //public GameObject rearWheel;
+    [Header("GameObjects")] public GameObject rearWheel;
     public GameObject frontWheel;
-    //public GameObject crank;
+    public GameObject crank;
+
+    public GameObject bike;
+
     //public GameObject pedalL;
     //public GameObject pedalR;
-    //public GameObject fork;
+    public GameObject fork;
     public Transform centerOfMass;
-    
-    [Header("Values")]
-    public float oneRotationSpeed = 2.7f;
+
+    [Header("Configuration")] public VelocityMode velocityMode = VelocityMode.ApplyTorqueToWheelCollider;
+
+    [Header("Values")] public float oneRotationSpeed = 2.7f;
     public float crankMultiplier = 2f;
     public List<AxleInfo> axleInfos; // the information about each individual axle
     public float maxMotorTorque = 12f; // maximum torque the motor can apply to wheel
     public float maxSteeringAngle = 5f; // maximum steer angle the wheel can have
-    [Range(0,1)]
-    public float relativeLeanAmount = 0.01f;
+    [Range(0, 1)] public float relativeLeanAmount = 0.01f;
     public Transform leftWheels;
     public Transform rightWheels;
 
@@ -45,73 +54,78 @@ public class BicycleController : MonoBehaviour
         for (int i = 0; i < axleInfos.Count; i++)
         {
             wheelPositions[i] = axleInfos[i].wheel.center;
-            
         }
     }
 
     // Update is called once per frame
     void Update()
     {
-        RotateMeshes();
+        //RotateMeshes();
         //RotateFork();
-        Debug.Log("rotation: " + currentSteerAngle); 
+        Debug.Log("rotation: " + currentSteerAngle);
     }
-    
+
 
     public void FixedUpdate()
     {
-  
         ApplyWheelForce();
         Lean();
         //RotateStraight();
-
     }
 
     void RotateMeshes()
     {
-        //RotateObject(crank, 1);
+        RotateObject(crank, 1);
         //RotateObject(pedalL, -1);
         //RotateObject(pedalR, -1);
-        //RotateObject(rearWheel, crankMultiplier);
+        RotateObject(rearWheel, crankMultiplier);
         RotateObject(frontWheel, crankMultiplier);
     }
 
-    /*void RotateFork()
+    void RotateFork()
     {
         fork.transform.localRotation = startForkRot;
-        fork.transform.RotateAround(fork.transform.position, fork.transform.up, maxSteeringAngle * rotationValue);
-    }*/
+        fork.transform.RotateAround(fork.transform.position, fork.transform.up, maxSteeringAngle * currentSteerAngle);
+    }
 
     void Lean()
     {
-        upDirection = Vector3.Normalize(Vector3.up + transform.right * (maxSteeringAngle * relativeLeanAmount * currentSteerAngle * rb.velocity.magnitude) / 100);
+        upDirection = Vector3.Normalize(Vector3.up + transform.right *
+            (maxSteeringAngle * relativeLeanAmount * currentSteerAngle * rb.velocity.magnitude) / 100);
     }
-    
+
 
     void ApplyWheelForce()
     {
         float motor = maxMotorTorque;
         float steering = maxSteeringAngle * currentSteerAngle;
 
-        leftWheels.localPosition = - Vector3.up * (relativeLeanAmount * currentSteerAngle * rb.velocity.magnitude);
+        leftWheels.localPosition = -Vector3.up * (relativeLeanAmount * currentSteerAngle * rb.velocity.magnitude);
         rightWheels.localPosition = Vector3.up * (relativeLeanAmount * currentSteerAngle * rb.velocity.magnitude);
 
-        //rb.velocity = new Vector3(currentSpeed, rb.velocity.y, rb.velocity.z);
-        
+        if (velocityMode == VelocityMode.ApplySpeedToRigidBody)
+        {
+            //TODO: figure out what to do when going upwards?
+            rb.velocity = bike.transform.forward * currentSpeed;
+        }
+
         foreach (AxleInfo axleInfo in axleInfos)
         {
-            
             if (axleInfo.steering)
             {
                 axleInfo.wheel.steerAngle = steering;
             }
-            if (axleInfo.motor && rb.velocity.magnitude < currentSpeed)
-            {
-                axleInfo.wheel.motorTorque = motor;
-            }
-            else if(axleInfo.motor)
+
+            if (velocityMode == VelocityMode.ApplySpeedToWheelCollider)
             {
-                axleInfo.wheel.motorTorque = 0;
+                if (axleInfo.motor && rb.velocity.magnitude < currentSpeed)
+                {
+                    axleInfo.wheel.motorTorque = motor;
+                }
+                else if (axleInfo.motor)
+                {
+                    axleInfo.wheel.motorTorque = 0;
+                }
             }
         }
     }
@@ -131,22 +145,34 @@ public class BicycleController : MonoBehaviour
     {
         currentSteerAngle = angle;
     }
-    
+
     //rotates the meshes
     void RotateObject(GameObject obj, float multiplier)
     {
         obj.transform.Rotate(Time.deltaTime * rb.velocity.magnitude * (360f / oneRotationSpeed) * multiplier, 0, 0);
         //obj.transform.Rotate(Time.deltaTime * rotSpeed * (360f / oneRotationSpeed) * multiplier, 0, 0);
     }
-}
-
 
+    public void SetTorque(float crankTorque)
+    {
+        foreach (AxleInfo axleInfo in axleInfos)
+        {
+            if (velocityMode == VelocityMode.ApplyTorqueToWheelCollider) ;
+            {
+                if (axleInfo.motor)
+                {
+                    axleInfo.wheel.motorTorque = crankTorque;
+                }
+            }
+        }
+    }
 
-[System.Serializable]
-public class AxleInfo
-{
-    public WheelCollider wheel;
-    public bool motor; // is this wheel attached to motor?
-    public bool steering; // does this wheel apply steer angle?
-}
 
+    [System.Serializable]
+    public class AxleInfo
+    {
+        public WheelCollider wheel;
+        public bool motor; // is this wheel attached to motor?
+        public bool steering; // does this wheel apply steer angle?
+    }
+}

BIN
Library/ArtifactDB


+ 155 - 62
Library/CurrentLayout-default.dwlt

@@ -21,7 +21,7 @@ MonoBehaviour:
   m_ShowMode: 4
   m_Title: 
   m_RootView: {fileID: 2}
-  m_MinSize: {x: 875, y: 392}
+  m_MinSize: {x: 875, y: 542}
   m_MaxSize: {x: 10000, y: 10000}
   m_Maximized: 1
 --- !u!114 &2
@@ -46,7 +46,7 @@ MonoBehaviour:
     y: 0
     width: 1920
     height: 1117
-  m_MinSize: {x: 875, y: 300}
+  m_MinSize: {x: 875, y: 542}
   m_MaxSize: {x: 10000, y: 10000}
 --- !u!114 &3
 MonoBehaviour:
@@ -112,10 +112,10 @@ MonoBehaviour:
     y: 30
     width: 1920
     height: 1067
-  m_MinSize: {x: 678, y: 342}
-  m_MaxSize: {x: 12003, y: 8042}
+  m_MinSize: {x: 679, y: 492}
+  m_MaxSize: {x: 14002, y: 14042}
   vertical: 0
-  controlID: 175
+  controlID: 82
 --- !u!114 &6
 MonoBehaviour:
   m_ObjectHideFlags: 52
@@ -137,10 +137,10 @@ MonoBehaviour:
     y: 0
     width: 1385
     height: 1067
-  m_MinSize: {x: 403, y: 342}
-  m_MaxSize: {x: 8003, y: 8042}
+  m_MinSize: {x: 403, y: 492}
+  m_MaxSize: {x: 10001, y: 14042}
   vertical: 1
-  controlID: 148
+  controlID: 83
 --- !u!114 &7
 MonoBehaviour:
   m_ObjectHideFlags: 52
@@ -165,7 +165,7 @@ MonoBehaviour:
   m_MinSize: {x: 403, y: 221}
   m_MaxSize: {x: 8003, y: 4021}
   vertical: 0
-  controlID: 149
+  controlID: 84
 --- !u!114 &8
 MonoBehaviour:
   m_ObjectHideFlags: 52
@@ -185,12 +185,12 @@ MonoBehaviour:
     y: 0
     width: 392
     height: 796
-  m_MinSize: {x: 200, y: 200}
-  m_MaxSize: {x: 4000, y: 4000}
-  m_ActualView: {fileID: 14}
+  m_MinSize: {x: 201, y: 221}
+  m_MaxSize: {x: 4001, y: 4021}
+  m_ActualView: {fileID: 15}
   m_Panes:
-  - {fileID: 14}
   - {fileID: 15}
+  - {fileID: 16}
   m_Selected: 0
   m_LastSelected: 1
 --- !u!114 &9
@@ -212,15 +212,16 @@ MonoBehaviour:
     y: 0
     width: 993
     height: 796
-  m_MinSize: {x: 200, y: 200}
-  m_MaxSize: {x: 4000, y: 4000}
-  m_ActualView: {fileID: 16}
+  m_MinSize: {x: 202, y: 221}
+  m_MaxSize: {x: 4002, y: 4021}
+  m_ActualView: {fileID: 17}
   m_Panes:
-  - {fileID: 16}
+  - {fileID: 17}
+  - {fileID: 14}
   - {fileID: 13}
   - {fileID: 12}
   m_Selected: 0
-  m_LastSelected: 0
+  m_LastSelected: 3
 --- !u!114 &10
 MonoBehaviour:
   m_ObjectHideFlags: 52
@@ -231,7 +232,7 @@ MonoBehaviour:
   m_Enabled: 1
   m_EditorHideFlags: 1
   m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
-  m_Name: ConsoleWindow
+  m_Name: ProjectBrowser
   m_EditorClassIdentifier: 
   m_Children: []
   m_Position:
@@ -240,14 +241,14 @@ MonoBehaviour:
     y: 796
     width: 1385
     height: 271
-  m_MinSize: {x: 100, y: 100}
-  m_MaxSize: {x: 4000, y: 4000}
+  m_MinSize: {x: 231, y: 271}
+  m_MaxSize: {x: 10001, y: 10021}
   m_ActualView: {fileID: 18}
   m_Panes:
-  - {fileID: 17}
   - {fileID: 18}
-  m_Selected: 1
-  m_LastSelected: 0
+  - {fileID: 19}
+  m_Selected: 0
+  m_LastSelected: 1
 --- !u!114 &11
 MonoBehaviour:
   m_ObjectHideFlags: 52
@@ -267,15 +268,107 @@ MonoBehaviour:
     y: 0
     width: 535
     height: 1067
-  m_MinSize: {x: 275, y: 50}
-  m_MaxSize: {x: 4000, y: 4000}
-  m_ActualView: {fileID: 19}
+  m_MinSize: {x: 276, y: 71}
+  m_MaxSize: {x: 4001, y: 4021}
+  m_ActualView: {fileID: 20}
   m_Panes:
-  - {fileID: 19}
   - {fileID: 20}
+  - {fileID: 21}
   m_Selected: 0
   m_LastSelected: 1
 --- !u!114 &12
+MonoBehaviour:
+  m_ObjectHideFlags: 52
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 0}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
+  m_Name: 
+  m_EditorClassIdentifier: 
+  m_MinSize: {x: 100, y: 100}
+  m_MaxSize: {x: 4000, y: 4000}
+  m_TitleContent:
+    m_Text: Game
+    m_Image: {fileID: -2087823869225018852, guid: 0000000000000000d000000000000000,
+      type: 0}
+    m_Tooltip: 
+  m_Pos:
+    serializedVersion: 2
+    x: 392
+    y: 73
+    width: 991
+    height: 775
+  m_ViewDataDictionary: {fileID: 0}
+  m_SerializedViewNames: []
+  m_SerializedViewValues: []
+  m_SerializedCustomFieldsNames: []
+  m_SerializedCustomFieldsValues: []
+  m_PlayModeViewName: GameView
+  m_ShowGizmos: 0
+  m_TargetDisplay: 0
+  m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
+  m_TargetSize: {x: 991, y: 754}
+  m_TextureFilterMode: 0
+  m_TextureHideFlags: 61
+  m_RenderIMGUI: 1
+  m_MaximizeOnPlay: 0
+  m_UseMipMap: 0
+  m_VSyncEnabled: 0
+  m_Gizmos: 0
+  m_Stats: 0
+  m_SelectedSizes: 00000000000000000000000000000000000000000000000000000000000000000000000000000000
+  m_ZoomArea:
+    m_HRangeLocked: 0
+    m_VRangeLocked: 0
+    hZoomLockedByDefault: 0
+    vZoomLockedByDefault: 0
+    m_HBaseRangeMin: -495.5
+    m_HBaseRangeMax: 495.5
+    m_VBaseRangeMin: -377
+    m_VBaseRangeMax: 377
+    m_HAllowExceedBaseRangeMin: 1
+    m_HAllowExceedBaseRangeMax: 1
+    m_VAllowExceedBaseRangeMin: 1
+    m_VAllowExceedBaseRangeMax: 1
+    m_ScaleWithWindow: 0
+    m_HSlider: 0
+    m_VSlider: 0
+    m_IgnoreScrollWheelUntilClicked: 0
+    m_EnableMouseInput: 0
+    m_EnableSliderZoomHorizontal: 0
+    m_EnableSliderZoomVertical: 0
+    m_UniformScale: 1
+    m_UpDirection: 1
+    m_DrawArea:
+      serializedVersion: 2
+      x: 0
+      y: 21
+      width: 991
+      height: 754
+    m_Scale: {x: 1, y: 1}
+    m_Translation: {x: 495.5, y: 377}
+    m_MarginLeft: 0
+    m_MarginRight: 0
+    m_MarginTop: 0
+    m_MarginBottom: 0
+    m_LastShownAreaInsideMargins:
+      serializedVersion: 2
+      x: -495.5
+      y: -377
+      width: 991
+      height: 754
+    m_MinimalGUI: 1
+  m_defaultScale: 1
+  m_LastWindowPixelSize: {x: 991, y: 775}
+  m_ClearInEditMode: 1
+  m_NoCameraWarning: 1
+  m_LowResolutionForAspectRatios: 01000000000000000000
+  m_XRRenderMode: 0
+  m_RenderTexture: {fileID: 0}
+--- !u!114 &13
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_CorrespondingSourceObject: {fileID: 0}
@@ -301,7 +394,7 @@ MonoBehaviour:
     width: 1074
     height: 785
   m_ViewDataDictionary: {fileID: 0}
---- !u!114 &13
+--- !u!114 &14
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_CorrespondingSourceObject: {fileID: 0}
@@ -365,7 +458,7 @@ MonoBehaviour:
   m_CurrentEditor: 1
   m_LayerEditor:
     m_SelectedLayerIndex: 0
---- !u!114 &14
+--- !u!114 &15
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_CorrespondingSourceObject: {fileID: 0}
@@ -394,23 +487,23 @@ MonoBehaviour:
   m_SceneHierarchy:
     m_TreeViewState:
       scrollPos: {x: 0, y: 0}
-      m_SelectedIDs: 004f0000
-      m_LastClickedID: 20224
-      m_ExpandedIDs: 267dffff467fffff68fbffff1845000080450000fa480000ba4c0000fa4c0000244d0000404d0000004f0000
+      m_SelectedIDs: 
+      m_LastClickedID: 0
+      m_ExpandedIDs: 367dffffb07dffff127effff1e7effff68fbfffffa4c0000fc4e0000
       m_RenameOverlay:
         m_UserAcceptedRename: 0
-        m_Name: 
-        m_OriginalName: 
+        m_Name: Cube_001
+        m_OriginalName: Cube_001
         m_EditFieldRect:
           serializedVersion: 2
           x: 0
           y: 0
           width: 0
           height: 0
-        m_UserData: 0
+        m_UserData: -33352
         m_IsWaitingForDelay: 0
         m_IsRenaming: 0
-        m_OriginalEventType: 11
+        m_OriginalEventType: 0
         m_IsRenamingFilename: 0
         m_ClientGUIView: {fileID: 8}
       m_SearchString: 
@@ -420,7 +513,7 @@ MonoBehaviour:
       m_IsLocked: 0
     m_CurrentSortingName: TransformSorting
   m_WindowGUID: 46b7a0fefa812c44ca6fda42b4d7b176
---- !u!114 &15
+--- !u!114 &16
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_CorrespondingSourceObject: {fileID: 0}
@@ -460,7 +553,7 @@ MonoBehaviour:
     xOffset: 0
   m_TestTypeToolbarIndex: 1
   m_PlayModeTestListGUI:
-    m_Window: {fileID: 15}
+    m_Window: {fileID: 16}
     newResultList:
     - id: 1010
       uniqueId: '[Uebung01][suite]'
@@ -511,7 +604,7 @@ MonoBehaviour:
       availableCategories:
       - Uncategorized
   m_EditModeTestListGUI:
-    m_Window: {fileID: 15}
+    m_Window: {fileID: 16}
     newResultList:
     - id: 1000
       uniqueId: '[Uebung02][suite]'
@@ -561,7 +654,7 @@ MonoBehaviour:
       selectedCategoryMask: 0
       availableCategories:
       - Uncategorized
---- !u!114 &16
+--- !u!114 &17
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_CorrespondingSourceObject: {fileID: 0}
@@ -597,9 +690,9 @@ MonoBehaviour:
   m_PlayAudio: 0
   m_AudioPlay: 0
   m_Position:
-    m_Target: {x: 3.9211264, y: -0.3500105, z: 2.9479597}
+    m_Target: {x: 3.75349, y: 0.24018145, z: 3.7283833}
     speed: 2
-    m_Value: {x: 3.9211264, y: -0.3500105, z: 2.9479597}
+    m_Value: {x: 3.75349, y: 0.24018145, z: 3.7283833}
   m_RenderMode: 0
   m_CameraMode:
     drawMode: 0
@@ -645,13 +738,13 @@ MonoBehaviour:
     m_GridAxis: 1
     m_gridOpacity: 0.5
   m_Rotation:
-    m_Target: {x: 0.26004428, y: 0.047773395, z: -0.012882854, w: 0.96432835}
+    m_Target: {x: 0.16356854, y: -0.1356733, z: 0.022716671, w: 0.97689384}
     speed: 2
-    m_Value: {x: 0.26004422, y: 0.047773384, z: -0.012882851, w: 0.9643281}
+    m_Value: {x: 0.15933223, y: -0.12843828, z: 0.020911526, w: 0.97861105}
   m_Size:
-    m_Target: 3.1297338
+    m_Target: 3.5287242
     speed: 2
-    m_Value: 3.1297338
+    m_Value: 3.5287242
   m_Ortho:
     m_Target: 0
     speed: 2
@@ -676,7 +769,7 @@ MonoBehaviour:
   m_SceneVisActive: 1
   m_LastLockedObject: {fileID: 0}
   m_ViewIsLockedToObject: 0
---- !u!114 &17
+--- !u!114 &18
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_CorrespondingSourceObject: {fileID: 0}
@@ -725,10 +818,10 @@ MonoBehaviour:
   m_LockTracker:
     m_IsLocked: 0
   m_FolderTreeState:
-    scrollPos: {x: 0, y: 66}
-    m_SelectedIDs: 16780000
-    m_LastClickedID: 30742
-    m_ExpandedIDs: 0000000012430000b4620000b6620000dc62000000ca9a3b
+    scrollPos: {x: 0, y: 54}
+    m_SelectedIDs: 2a690000
+    m_LastClickedID: 26922
+    m_ExpandedIDs: 00000000124300009c6200009e6200001c69000000ca9a3b
     m_RenameOverlay:
       m_UserAcceptedRename: 0
       m_Name: 
@@ -756,7 +849,7 @@ MonoBehaviour:
     scrollPos: {x: 0, y: 0}
     m_SelectedIDs: 
     m_LastClickedID: 0
-    m_ExpandedIDs: 0000000012430000b4620000b6620000
+    m_ExpandedIDs: 00000000124300009c6200009e620000
     m_RenameOverlay:
       m_UserAcceptedRename: 0
       m_Name: 
@@ -781,24 +874,24 @@ MonoBehaviour:
       m_Icon: {fileID: 0}
       m_ResourceFile: 
   m_ListAreaState:
-    m_SelectedInstanceIDs: fa4c0000
-    m_LastClickedInstanceID: 19706
+    m_SelectedInstanceIDs: 
+    m_LastClickedInstanceID: 0
     m_HadKeyboardFocusLastEvent: 1
     m_ExpandedInstanceIDs: c6230000523b0000943b00001e3c00000000000026680000286800005c3c0000786f0000ac7e0000aa7e00002e6100000a7c0000b8f500000c990000a2a6000088f70000d2f70000
     m_RenameOverlay:
       m_UserAcceptedRename: 0
-      m_Name: BicyleController
-      m_OriginalName: BicyleController
+      m_Name: 
+      m_OriginalName: 
       m_EditFieldRect:
         serializedVersion: 2
         x: 0
         y: 0
         width: 0
         height: 0
-      m_UserData: 30742
+      m_UserData: 0
       m_IsWaitingForDelay: 0
       m_IsRenaming: 0
-      m_OriginalEventType: 0
+      m_OriginalEventType: 11
       m_IsRenamingFilename: 1
       m_ClientGUIView: {fileID: 10}
     m_CreateAssetUtility:
@@ -812,7 +905,7 @@ MonoBehaviour:
     m_GridSize: 16
   m_SkipHiddenPackages: 0
   m_DirectoriesAreaWidth: 199
---- !u!114 &18
+--- !u!114 &19
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_CorrespondingSourceObject: {fileID: 0}
@@ -838,7 +931,7 @@ MonoBehaviour:
     width: 1384
     height: 250
   m_ViewDataDictionary: {fileID: 0}
---- !u!114 &19
+--- !u!114 &20
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_CorrespondingSourceObject: {fileID: 0}
@@ -876,7 +969,7 @@ MonoBehaviour:
   m_PreviewWindow: {fileID: 0}
   m_LastInspectedObjectInstanceID: -1
   m_LastVerticalScrollValue: 0
---- !u!114 &20
+--- !u!114 &21
 MonoBehaviour:
   m_ObjectHideFlags: 52
   m_CorrespondingSourceObject: {fileID: 0}

BIN
Library/SceneVisibilityState.asset


BIN
Library/ScriptAssemblies/Assembly-CSharp-Editor.dll


BIN
Library/ScriptAssemblies/Assembly-CSharp.dll


BIN
Library/ScriptAssemblies/Assembly-CSharp.pdb


BIN
Library/ShaderCache/EditorEncounteredVariants


BIN
Library/SourceAssetDB


+ 1 - 1
Library/StateCache/Hierarchy/46b7a0-mainStage.json

@@ -1 +1 @@
-{"m_ExpandedPrefabGameObjectFileIDs":[],"m_ExpandedSceneGameObjectInstanceIDs":[],"m_ScrollY":0.0,"m_LastClickedFileID":0,"m_LastClickedInstanceID":0}
+{"m_ExpandedPrefabGameObjectFileIDs":[],"m_ExpandedSceneGameObjectInstanceIDs":[-1176,17874,19030,19658,19700,19728,20098,20134],"m_ScrollY":0.0,"m_LastClickedFileID":0,"m_LastClickedInstanceID":19658}

+ 1 - 1
Library/StateCache/SceneView/d69a67-mainStage.json

@@ -1 +1 @@
-{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"showFog":true,"showMaterialUpdate":false,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true},"in2DMode":false,"pivot":{"x":3.921126365661621,"y":-0.3500105142593384,"z":2.9479596614837648},"rotation":{"x":0.26004427671432497,"y":0.047773394733667377,"z":-0.012882853858172894,"w":0.9643283486366272},"size":3.1297338008880617,"orthographic":false}
+{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"showFog":true,"showMaterialUpdate":false,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true},"in2DMode":false,"pivot":{"x":5.3403825759887699,"y":-1.3675246238708497,"z":3.601231098175049},"rotation":{"x":0.16356854140758515,"y":-0.13567329943180085,"z":0.022716671228408815,"w":0.9768938422203064},"size":5.511752605438232,"orthographic":false}

Some files were not shown because too many files changed in this diff