idk
This commit is contained in:
@@ -38,7 +38,7 @@ RenderSettings:
|
|||||||
m_ReflectionIntensity: 1
|
m_ReflectionIntensity: 1
|
||||||
m_CustomReflection: {fileID: 0}
|
m_CustomReflection: {fileID: 0}
|
||||||
m_Sun: {fileID: 0}
|
m_Sun: {fileID: 0}
|
||||||
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
|
m_IndirectSpecularColor: {r: 0.44657826, g: 0.49641263, b: 0.57481676, a: 1}
|
||||||
m_UseRadianceAmbientProbe: 0
|
m_UseRadianceAmbientProbe: 0
|
||||||
--- !u!157 &3
|
--- !u!157 &3
|
||||||
LightmapSettings:
|
LightmapSettings:
|
||||||
|
|||||||
@@ -421,6 +421,11 @@ Transform:
|
|||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!4 &1983670534 stripped
|
||||||
|
Transform:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 5751617850336568147, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 1328367594557032345}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!1 &2026056263
|
--- !u!1 &2026056263
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -544,11 +549,6 @@ WheelCollider:
|
|||||||
m_CorrespondingSourceObject: {fileID: 1553392025741153767, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
m_CorrespondingSourceObject: {fileID: 1553392025741153767, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
||||||
m_PrefabInstance: {fileID: 1328367594557032345}
|
m_PrefabInstance: {fileID: 1328367594557032345}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!4 &1328367594557032349 stripped
|
|
||||||
Transform:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 5420764024659664985, guid: 5851f609a58dc884a99030da0105c6db, type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 1328367594557032345}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!114 &1328367594557032350
|
--- !u!114 &1328367594557032350
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -566,7 +566,7 @@ MonoBehaviour:
|
|||||||
- {fileID: 1328367594557032348}
|
- {fileID: 1328367594557032348}
|
||||||
- {fileID: 1328367594557032347}
|
- {fileID: 1328367594557032347}
|
||||||
Wheels: []
|
Wheels: []
|
||||||
CenterOfMass: {fileID: 0}
|
CenterOfMass: {fileID: 1983670534}
|
||||||
Force: 1000
|
Force: 1000
|
||||||
Angle: 35
|
Angle: 35
|
||||||
BrakeForce: 500
|
BrakeForce: 500
|
||||||
@@ -681,7 +681,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: 8858152487650577344, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3}
|
- target: {fileID: 8858152487650577344, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3}
|
||||||
propertyPath: m_LookAt
|
propertyPath: m_LookAt
|
||||||
value:
|
value:
|
||||||
objectReference: {fileID: 1328367594557032349}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 8858152487650577344, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3}
|
- target: {fileID: 8858152487650577344, guid: 80c5f8bcfe7e033419638b39d9a278c4, type: 3}
|
||||||
propertyPath: m_Lens.FieldOfView
|
propertyPath: m_Lens.FieldOfView
|
||||||
value: 60
|
value: 60
|
||||||
|
|||||||
@@ -51,4 +51,9 @@ public class VehichleControl : MonoBehaviour
|
|||||||
Brake();
|
Brake();
|
||||||
UpdateWheelMovements();
|
UpdateWheelMovements();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
GetComponent<Rigidbody>().centerOfMass = CenterOfMass.localPosition;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user