satisfaction
This commit is contained in:
@@ -1 +1 @@
|
|||||||
{"count":1,"self":196.72761599999998,"total":218.7672601,"children":{"InitializeActuators":{"count":16,"self":0.0039921,"total":0.0039921,"children":null},"InitializeSensors":{"count":16,"self":0.001982,"total":0.001982,"children":null},"AgentSendState":{"count":10302,"self":1.67696,"total":2.0846375999999998,"children":{"CollectObservations":{"count":13904,"self":0.2781029,"total":0.2781029,"children":null},"WriteActionMask":{"count":13904,"self":0.0349994,"total":0.0349994,"children":null},"RequestDecision":{"count":13904,"self":0.0945753,"total":0.0945753,"children":null}}},"DecideAction":{"count":10302,"self":18.1721072,"total":18.4863648,"children":{"RayPerceptionSensor.Perceive":{"count":27808,"self":0.3142569,"total":0.3142569,"children":null}}},"AgentAct":{"count":10302,"self":1.4606668,"total":1.4606668,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":21,"max":25.5401878,"min":21.13704,"runningAverage":24.4067917,"value":25.3901539,"weightedAverage":24.80418}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714138791","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Magnus\\Desktop\\Ny unityting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId 8c17471b-7795-4082-905c-75744d6a077b -accessToken hv3zp4IA8nxcowfZc35r5tDHrlmzUZoExTBgESksngo005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Car Customization","end_time_seconds":"1714139010"}}
|
{"count":1,"self":24.0354608,"total":24.1341155,"children":{"InitializeActuators":{"count":8,"self":0.0009975,"total":0.0009975,"children":null},"InitializeSensors":{"count":8,"self":0.0019962,"total":0.0019962,"children":null},"AgentSendState":{"count":2,"self":0.0049876,"total":0.0199737,"children":{"CollectObservations":{"count":8,"self":0.0020204999999999997,"total":0.0020204999999999997,"children":null},"WriteActionMask":{"count":8,"self":0,"total":0,"children":null},"RequestDecision":{"count":8,"self":0.012965599999999999,"total":0.012965599999999999,"children":null}}},"DecideAction":{"count":2,"self":0.0726998,"total":0.0726998,"children":{"RayPerceptionSensor.Perceive":{"count":16,"self":0,"total":0,"children":null}}},"AgentAct":{"count":2,"self":0.0029874999999999997,"total":0.0029874999999999997,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714149539","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Noah\\Documents\\Unity\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Noah -hubSessionId afc1258c-abe0-4a00-8f4e-1d44662f8e05 -accessToken E8uMA-2GqZxoKnR6eDa7D1Oy5BMcE1EuXtrSjgTRut0005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Car Customization","end_time_seconds":"1714149563"}}
|
||||||
@@ -1 +1 @@
|
|||||||
{"count":1,"self":193.7252608,"total":201.3228297,"children":{"InitializeActuators":{"count":8,"self":0.0029833999999999998,"total":0.0029833999999999998,"children":null},"InitializeSensors":{"count":8,"self":0.0029920999999999997,"total":0.0029920999999999997,"children":null},"AgentSendState":{"count":9807,"self":1.1413769,"total":1.3504292999999998,"children":{"CollectObservations":{"count":15696,"self":0.1167665,"total":0.1167665,"children":null},"WriteActionMask":{"count":15696,"self":0.0360302,"total":0.0360302,"children":null},"RequestDecision":{"count":15696,"self":0.0562557,"total":0.0562557,"children":null}}},"DecideAction":{"count":9807,"self":5.5154011999999994,"total":5.6761821,"children":{"RayPerceptionSensor.Perceive":{"count":31392,"self":0.16078099999999998,"total":0.16078099999999998,"children":null}}},"AgentAct":{"count":9807,"self":0.56335249999999992,"total":0.56335249999999992,"children":null}},"gauges":{"Benson Track2.CumulativeReward":{"count":7,"max":26.7109566,"min":24.18585,"runningAverage":25.3461285,"value":26.7109566,"weightedAverage":25.4686451}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714132015","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Magnus\\Desktop\\Ny unityting\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Magnus -hubSessionId 8c17471b-7795-4082-905c-75744d6a077b -accessToken hv3zp4IA8nxcowfZc35r5tDHrlmzUZoExTBgESksngo005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"CityRacetrack","end_time_seconds":"1714132217"}}
|
{"count":1,"self":47.2692832,"total":48.2983944,"children":{"InitializeActuators":{"count":8,"self":0.0009758,"total":0.0009758,"children":null},"InitializeSensors":{"count":8,"self":0.0029925,"total":0.0029925,"children":null},"AgentSendState":{"count":2187,"self":0.1384426,"total":0.19008319999999998,"children":{"CollectObservations":{"count":3504,"self":0.0299204,"total":0.0299204,"children":null},"WriteActionMask":{"count":3504,"self":0.0049581,"total":0.0049581,"children":null},"RequestDecision":{"count":3504,"self":0.0167621,"total":0.0167621,"children":null}}},"DecideAction":{"count":2187,"self":0.7093534,"total":0.72530529999999993,"children":{"RayPerceptionSensor.Perceive":{"count":7008,"self":0.015951899999999998,"total":0.015951899999999998,"children":null}}},"AgentAct":{"count":2187,"self":0.10875689999999999,"total":0.10875689999999999,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714149577","unity_version":"2022.3.11f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.11f1\\Editor\\Unity.exe -projectpath C:\\Users\\Noah\\Documents\\Unity\\Racesm -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Noah -hubSessionId afc1258c-abe0-4a00-8f4e-1d44662f8e05 -accessToken E8uMA-2GqZxoKnR6eDa7D1Oy5BMcE1EuXtrSjgTRut0005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"CityRacetrack","end_time_seconds":"1714149626"}}
|
||||||
@@ -30,8 +30,137 @@ Transform:
|
|||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 1144658963992940466}
|
- {fileID: 1144658963992940466}
|
||||||
|
- {fileID: 4361249635711236569}
|
||||||
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!1 &3890584208436047927
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 4361249635711236569}
|
||||||
|
- component: {fileID: 1542968457024381360}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Audio Source
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &4361249635711236569
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3890584208436047927}
|
||||||
|
serializedVersion: 2
|
||||||
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 1.6666665, z: 0}
|
||||||
|
m_LocalScale: {x: 3.333333, y: 3.333333, z: 3.333333}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 3118456698246916321}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!82 &1542968457024381360
|
||||||
|
AudioSource:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 3890584208436047927}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 4
|
||||||
|
OutputAudioMixerGroup: {fileID: 0}
|
||||||
|
m_audioClip: {fileID: 8300000, guid: d5e7989d43ab6784a860d563c7c9030a, type: 3}
|
||||||
|
m_PlayOnAwake: 0
|
||||||
|
m_Volume: 1
|
||||||
|
m_Pitch: 1
|
||||||
|
Loop: 0
|
||||||
|
Mute: 0
|
||||||
|
Spatialize: 0
|
||||||
|
SpatializePostEffects: 0
|
||||||
|
Priority: 128
|
||||||
|
DopplerLevel: 1
|
||||||
|
MinDistance: 1
|
||||||
|
MaxDistance: 400
|
||||||
|
Pan2D: 0
|
||||||
|
rolloffMode: 0
|
||||||
|
BypassEffects: 0
|
||||||
|
BypassListenerEffects: 0
|
||||||
|
BypassReverbZones: 0
|
||||||
|
rolloffCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 1
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 1
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
panLevelCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 1
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
spreadCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 0
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
|
reverbZoneMixCustomCurve:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Curve:
|
||||||
|
- serializedVersion: 3
|
||||||
|
time: 0
|
||||||
|
value: 1
|
||||||
|
inSlope: 0
|
||||||
|
outSlope: 0
|
||||||
|
tangentMode: 0
|
||||||
|
weightedMode: 0
|
||||||
|
inWeight: 0.33333334
|
||||||
|
outWeight: 0.33333334
|
||||||
|
m_PreInfinity: 2
|
||||||
|
m_PostInfinity: 2
|
||||||
|
m_RotationOrder: 4
|
||||||
--- !u!1001 &1144658963992848686
|
--- !u!1001 &1144658963992848686
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -78,15 +207,15 @@ PrefabInstance:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 435868, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
- target: {fileID: 435868, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
||||||
propertyPath: m_LocalRotation.x
|
propertyPath: m_LocalRotation.x
|
||||||
value: -0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 435868, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
- target: {fileID: 435868, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
||||||
propertyPath: m_LocalRotation.y
|
propertyPath: m_LocalRotation.y
|
||||||
value: -0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 435868, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
- target: {fileID: 435868, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
||||||
propertyPath: m_LocalRotation.z
|
propertyPath: m_LocalRotation.z
|
||||||
value: -0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 435868, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
- target: {fileID: 435868, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
@@ -353,6 +482,9 @@ PrefabInstance:
|
|||||||
- targetCorrespondingSourceObject: {fileID: 198426, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
- targetCorrespondingSourceObject: {fileID: 198426, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
||||||
insertIndex: -1
|
insertIndex: -1
|
||||||
addedObject: {fileID: 6294030686582083384}
|
addedObject: {fileID: 6294030686582083384}
|
||||||
|
- targetCorrespondingSourceObject: {fileID: 198426, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
||||||
|
insertIndex: -1
|
||||||
|
addedObject: {fileID: 4309631380998233720}
|
||||||
- targetCorrespondingSourceObject: {fileID: 114084, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
- targetCorrespondingSourceObject: {fileID: 114084, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
||||||
insertIndex: -1
|
insertIndex: -1
|
||||||
addedObject: {fileID: 1025572373165019511}
|
addedObject: {fileID: 1025572373165019511}
|
||||||
@@ -444,6 +576,11 @@ PrefabInstance:
|
|||||||
insertIndex: -1
|
insertIndex: -1
|
||||||
addedObject: {fileID: 3354527560211728675}
|
addedObject: {fileID: 3354527560211728675}
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
||||||
|
--- !u!95 &1144658963985576444 stripped
|
||||||
|
Animator:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 9509074, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 1144658963992848686}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!1 &1144658963992675708 stripped
|
--- !u!1 &1144658963992675708 stripped
|
||||||
GameObject:
|
GameObject:
|
||||||
m_CorrespondingSourceObject: {fileID: 175186, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
m_CorrespondingSourceObject: {fileID: 175186, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
||||||
@@ -511,7 +648,7 @@ CharacterJoint:
|
|||||||
m_Anchor: {x: 0, y: 0, z: 0}
|
m_Anchor: {x: 0, y: 0, z: 0}
|
||||||
m_Axis: {x: 0, y: 0, z: -1}
|
m_Axis: {x: 0, y: 0, z: -1}
|
||||||
m_AutoConfigureConnectedAnchor: 1
|
m_AutoConfigureConnectedAnchor: 1
|
||||||
m_ConnectedAnchor: {x: 0, y: 0, z: 0}
|
m_ConnectedAnchor: {x: 43.31607, y: 2.554831, z: -15.454433}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_SwingAxis: {x: 0, y: -1, z: 0}
|
m_SwingAxis: {x: 0, y: -1, z: 0}
|
||||||
m_TwistLimitSpring:
|
m_TwistLimitSpring:
|
||||||
@@ -612,7 +749,7 @@ CharacterJoint:
|
|||||||
m_Anchor: {x: 0, y: 0, z: 0}
|
m_Anchor: {x: 0, y: 0, z: 0}
|
||||||
m_Axis: {x: 0, y: 0, z: 1}
|
m_Axis: {x: 0, y: 0, z: 1}
|
||||||
m_AutoConfigureConnectedAnchor: 1
|
m_AutoConfigureConnectedAnchor: 1
|
||||||
m_ConnectedAnchor: {x: 0, y: 0, z: 0}
|
m_ConnectedAnchor: {x: -43.316063, y: -2.5543444, z: 15.45443}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_SwingAxis: {x: 0, y: 1, z: 0}
|
m_SwingAxis: {x: 0, y: 1, z: 0}
|
||||||
m_TwistLimitSpring:
|
m_TwistLimitSpring:
|
||||||
@@ -713,7 +850,7 @@ CharacterJoint:
|
|||||||
m_Anchor: {x: 0, y: 0, z: 0}
|
m_Anchor: {x: 0, y: 0, z: 0}
|
||||||
m_Axis: {x: 0, y: 1, z: 0}
|
m_Axis: {x: 0, y: 1, z: 0}
|
||||||
m_AutoConfigureConnectedAnchor: 1
|
m_AutoConfigureConnectedAnchor: 1
|
||||||
m_ConnectedAnchor: {x: 0, y: 0, z: 0}
|
m_ConnectedAnchor: {x: 4.115797, y: -2.6920707, z: 9.896754}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_SwingAxis: {x: 0, y: 0, z: 1}
|
m_SwingAxis: {x: 0, y: 0, z: 1}
|
||||||
m_TwistLimitSpring:
|
m_TwistLimitSpring:
|
||||||
@@ -814,7 +951,7 @@ CharacterJoint:
|
|||||||
m_Anchor: {x: 0, y: 0, z: 0}
|
m_Anchor: {x: 0, y: 0, z: 0}
|
||||||
m_Axis: {x: 0, y: -1, z: 0}
|
m_Axis: {x: 0, y: -1, z: 0}
|
||||||
m_AutoConfigureConnectedAnchor: 1
|
m_AutoConfigureConnectedAnchor: 1
|
||||||
m_ConnectedAnchor: {x: 0, y: 0, z: 0}
|
m_ConnectedAnchor: {x: -22.636595, y: 5.3689423, z: -7.447162}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_SwingAxis: {x: 0, y: 0, z: -1}
|
m_SwingAxis: {x: 0, y: 0, z: -1}
|
||||||
m_TwistLimitSpring:
|
m_TwistLimitSpring:
|
||||||
@@ -915,7 +1052,7 @@ CharacterJoint:
|
|||||||
m_Anchor: {x: 0, y: 0, z: 0}
|
m_Anchor: {x: 0, y: 0, z: 0}
|
||||||
m_Axis: {x: 0, y: 1, z: 0}
|
m_Axis: {x: 0, y: 1, z: 0}
|
||||||
m_AutoConfigureConnectedAnchor: 1
|
m_AutoConfigureConnectedAnchor: 1
|
||||||
m_ConnectedAnchor: {x: 0, y: 0, z: 0}
|
m_ConnectedAnchor: {x: -22.63619, y: 5.3688793, z: 7.4471617}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_SwingAxis: {x: 0, y: 0, z: 1}
|
m_SwingAxis: {x: 0, y: 0, z: 1}
|
||||||
m_TwistLimitSpring:
|
m_TwistLimitSpring:
|
||||||
@@ -1000,7 +1137,7 @@ Rigidbody:
|
|||||||
m_ImplicitCom: 1
|
m_ImplicitCom: 1
|
||||||
m_ImplicitTensor: 1
|
m_ImplicitTensor: 1
|
||||||
m_UseGravity: 1
|
m_UseGravity: 1
|
||||||
m_IsKinematic: 1
|
m_IsKinematic: 0
|
||||||
m_Interpolate: 0
|
m_Interpolate: 0
|
||||||
m_Constraints: 0
|
m_Constraints: 0
|
||||||
m_CollisionDetection: 0
|
m_CollisionDetection: 0
|
||||||
@@ -1016,7 +1153,7 @@ CharacterJoint:
|
|||||||
m_Anchor: {x: 0, y: 0, z: 0}
|
m_Anchor: {x: 0, y: 0, z: 0}
|
||||||
m_Axis: {x: 0, y: 0, z: -1}
|
m_Axis: {x: 0, y: 0, z: -1}
|
||||||
m_AutoConfigureConnectedAnchor: 1
|
m_AutoConfigureConnectedAnchor: 1
|
||||||
m_ConnectedAnchor: {x: 0, y: 0, z: 0}
|
m_ConnectedAnchor: {x: -39.930927, y: 0.000030040741, z: -0.0000038146973}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_SwingAxis: {x: 0, y: -1, z: 0}
|
m_SwingAxis: {x: 0, y: -1, z: 0}
|
||||||
m_TwistLimitSpring:
|
m_TwistLimitSpring:
|
||||||
@@ -1115,7 +1252,7 @@ CharacterJoint:
|
|||||||
m_Anchor: {x: 0, y: 0, z: 0}
|
m_Anchor: {x: 0, y: 0, z: 0}
|
||||||
m_Axis: {x: 1, y: 0, z: 0}
|
m_Axis: {x: 1, y: 0, z: 0}
|
||||||
m_AutoConfigureConnectedAnchor: 1
|
m_AutoConfigureConnectedAnchor: 1
|
||||||
m_ConnectedAnchor: {x: -40.415417, y: 6.1366243, z: 1.9335363e-13}
|
m_ConnectedAnchor: {x: -40.415405, y: 6.136572, z: 1.9335355e-13}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_SwingAxis: {x: 0, y: 0, z: 1}
|
m_SwingAxis: {x: 0, y: 0, z: 1}
|
||||||
m_TwistLimitSpring:
|
m_TwistLimitSpring:
|
||||||
@@ -1219,6 +1356,21 @@ Rigidbody:
|
|||||||
m_Interpolate: 0
|
m_Interpolate: 0
|
||||||
m_Constraints: 0
|
m_Constraints: 0
|
||||||
m_CollisionDetection: 0
|
m_CollisionDetection: 0
|
||||||
|
--- !u!114 &4309631380998233720
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1144658963992784436}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 1cf5c39eb580998489213d03ff8a6760, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
animator: {fileID: 1144658963985576444}
|
||||||
|
npcPrefab: {fileID: 1907112288057292323}
|
||||||
|
audio: {fileID: 1542968457024381360}
|
||||||
--- !u!1 &1144658963992876170 stripped
|
--- !u!1 &1144658963992876170 stripped
|
||||||
GameObject:
|
GameObject:
|
||||||
m_CorrespondingSourceObject: {fileID: 114084, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
m_CorrespondingSourceObject: {fileID: 114084, guid: 5e488cfd825ce044395037d93a9d8eb6, type: 3}
|
||||||
@@ -1284,7 +1436,7 @@ CharacterJoint:
|
|||||||
m_Anchor: {x: 0, y: 0, z: 0}
|
m_Anchor: {x: 0, y: 0, z: 0}
|
||||||
m_Axis: {x: 0, y: 0, z: -1}
|
m_Axis: {x: 0, y: 0, z: -1}
|
||||||
m_AutoConfigureConnectedAnchor: 1
|
m_AutoConfigureConnectedAnchor: 1
|
||||||
m_ConnectedAnchor: {x: 0, y: 0, z: 0}
|
m_ConnectedAnchor: {x: -28.183737, y: 3.600521, z: 0}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_SwingAxis: {x: 0, y: 1, z: 0}
|
m_SwingAxis: {x: 0, y: 1, z: 0}
|
||||||
m_TwistLimitSpring:
|
m_TwistLimitSpring:
|
||||||
@@ -1385,7 +1537,7 @@ CharacterJoint:
|
|||||||
m_Anchor: {x: 0, y: 0, z: 0}
|
m_Anchor: {x: 0, y: 0, z: 0}
|
||||||
m_Axis: {x: 0, y: 1, z: 0}
|
m_Axis: {x: 0, y: 1, z: 0}
|
||||||
m_AutoConfigureConnectedAnchor: 1
|
m_AutoConfigureConnectedAnchor: 1
|
||||||
m_ConnectedAnchor: {x: 0, y: 0, z: 0}
|
m_ConnectedAnchor: {x: 4.115774, y: -2.6920671, z: -9.896754}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_SwingAxis: {x: 0, y: 0, z: -1}
|
m_SwingAxis: {x: 0, y: 0, z: -1}
|
||||||
m_TwistLimitSpring:
|
m_TwistLimitSpring:
|
||||||
@@ -1470,7 +1622,7 @@ Rigidbody:
|
|||||||
m_ImplicitCom: 1
|
m_ImplicitCom: 1
|
||||||
m_ImplicitTensor: 1
|
m_ImplicitTensor: 1
|
||||||
m_UseGravity: 1
|
m_UseGravity: 1
|
||||||
m_IsKinematic: 1
|
m_IsKinematic: 0
|
||||||
m_Interpolate: 0
|
m_Interpolate: 0
|
||||||
m_Constraints: 0
|
m_Constraints: 0
|
||||||
m_CollisionDetection: 0
|
m_CollisionDetection: 0
|
||||||
@@ -1486,7 +1638,7 @@ CharacterJoint:
|
|||||||
m_Anchor: {x: 0, y: 0, z: 0}
|
m_Anchor: {x: 0, y: 0, z: 0}
|
||||||
m_Axis: {x: 0, y: 0, z: -1}
|
m_Axis: {x: 0, y: 0, z: -1}
|
||||||
m_AutoConfigureConnectedAnchor: 1
|
m_AutoConfigureConnectedAnchor: 1
|
||||||
m_ConnectedAnchor: {x: 0, y: 0, z: 0}
|
m_ConnectedAnchor: {x: 39.930927, y: -0.000024795532, z: 0.0000071525574}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_SwingAxis: {x: 0, y: 1, z: 0}
|
m_SwingAxis: {x: 0, y: 1, z: 0}
|
||||||
m_TwistLimitSpring:
|
m_TwistLimitSpring:
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -8,21 +8,35 @@ public class NPCimproved : MonoBehaviour
|
|||||||
public GameObject npcPrefab;
|
public GameObject npcPrefab;
|
||||||
public AudioSource audio;
|
public AudioSource audio;
|
||||||
private bool walking = true;
|
private bool walking = true;
|
||||||
|
Vector3 rotation;
|
||||||
|
|
||||||
|
private void Start() {
|
||||||
|
rotation = transform.right;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
if (walking)
|
// if (walking)
|
||||||
{
|
// {
|
||||||
//npcPrefab.transform.position += new Vector3(0,0,0.005f);
|
// npcPrefab.transform.position += new Vector3(0,0,0.005f);
|
||||||
npcPrefab.transform.position += transform.forward * Time.deltaTime;
|
// npcPrefab.transform.position += transform.forward * Time.deltaTime;
|
||||||
npcPrefab.transform.position = new Vector3(npcPrefab.transform.position.x, 0, npcPrefab.transform.position.z);
|
// npcPrefab.transform.position = new Vector3(npcPrefab.transform.position.x, 0, npcPrefab.transform.position.z);
|
||||||
}
|
// }
|
||||||
|
|
||||||
//animator.SetBool("IsTurning", false);
|
//animator.SetBool("IsTurning", false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void FixedUpdate() {
|
||||||
|
if (walking)
|
||||||
|
{
|
||||||
|
npcPrefab.transform.position += rotation * 0.07f;
|
||||||
|
npcPrefab.transform.position = new Vector3(npcPrefab.transform.position.x, 0, npcPrefab.transform.position.z);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Disabels the animation controller, to simulate getting hit by car
|
// Disabels the animation controller, to simulate getting hit by car
|
||||||
void OnCollisionEnter(Collision col) {
|
void OnCollisionEnter(Collision col) {
|
||||||
@@ -37,7 +51,7 @@ public class NPCimproved : MonoBehaviour
|
|||||||
}
|
}
|
||||||
if (col.gameObject.tag == "Wall")
|
if (col.gameObject.tag == "Wall")
|
||||||
{
|
{
|
||||||
|
rotation = Quaternion.AngleAxis(120, Vector3.up) * rotation;
|
||||||
npcPrefab.transform.eulerAngles += new Vector3(0,120,0);
|
npcPrefab.transform.eulerAngles += new Vector3(0,120,0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
BIN
Assets/Sounds/oof-97698.mp3
Normal file
BIN
Assets/Sounds/oof-97698.mp3
Normal file
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 0992f228a2c818041a77fad4a16f0551
|
guid: d5e7989d43ab6784a860d563c7c9030a
|
||||||
AudioImporter:
|
AudioImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 7
|
serializedVersion: 7
|
||||||
Reference in New Issue
Block a user