Commit 9c80c572 authored by Danial KordModanlou's avatar Danial KordModanlou

new balancing car + little data saver

parent d663e669
......@@ -2,3 +2,5 @@
/.vs
/Library
/Logs
*.csv
*.csv.meta
......@@ -3,13 +3,8 @@
<component name="ChangeListManager">
<list default="true" id="63a78b22-9aa4-4157-97bc-72b63425d4fc" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/.idea.car-sim-remaster/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.car-sim-remaster/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scenes/SampleScene.unity" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scenes/SampleScene.unity" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/TurnTheGameOn/IK Driver/Scripts/Utility/IKD_DemoController.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/TurnTheGameOn/IK Driver/Scripts/Utility/IKD_DemoController.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/danial/background.prefab" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/danial/background.prefab" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/prefabs/IK Driver Demo Controller.prefab" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/prefabs/IK Driver Demo Controller.prefab" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/scripts/CarCustom.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/scripts/CarCustom.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/scripts/CheckPointBlock.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/scripts/CheckPointBlock.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/scripts/DataSaver.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/scripts/DataSaver.cs" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/scripts/Suspension.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/scripts/Suspension.cs" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
......@@ -36,52 +31,53 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/scripts/DataSaver.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-29">
<caret line="132" column="124" selection-start-line="132" selection-start-column="113" selection-end-line="132" selection-end-column="124" />
<state relative-caret-position="296">
<caret line="192" column="48" selection-start-line="192" selection-start-column="48" selection-end-line="192" selection-end-column="48" />
<folding>
<marker date="1593355671826" expanded="true" signature="7:181" ph="..." />
<marker date="1593355671826" expanded="true" signature="221:6850" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="975:1307" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1209:1299" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1333:1541" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1493:1533" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1607:1669" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1695:5582" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1736:1777" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1888:2229" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1911:2219" ph="/* Creating First row of titles manually.. ... */" />
<marker date="1593355671826" expanded="true" signature="3072:3366" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="3383:3577" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="4060:4196" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="4214:4484" ph="/* StreamWriter sw = new StreamWriter(filePath); ... */" />
<marker date="1593355671826" expanded="true" signature="4497:5404" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="4546:5394" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="4595:5318" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="5432:5547" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="5717:5803" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="5834:6848" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="5868:6441" ph="/* while (true) ... */" />
<marker date="1593355671826" expanded="true" signature="6580:6841" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="6669:6799" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="7:181" ph="..." />
<marker date="1593701457472" expanded="true" signature="221:7480" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1012:1344" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1246:1336" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1370:1578" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1530:1570" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1644:1706" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1732:6212" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1773:1814" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1925:2266" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1948:2256" ph="/* Creating First row of titles manually.. ... */" />
<marker date="1593701457472" expanded="true" signature="3109:3403" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="3420:3614" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="3698:4045" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="4062:4397" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="4584:4720" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="4738:5008" ph="/* StreamWriter sw = new StreamWriter(filePath); ... */" />
<marker date="1593701457472" expanded="true" signature="5021:6034" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="5070:6024" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="5119:5842" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="5863:5948" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="6062:6177" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="6347:6433" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="6464:7478" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="6498:7071" ph="/* while (true) ... */" />
<marker date="1593701457472" expanded="true" signature="7210:7471" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="7299:7429" ph="{...}" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/TurnTheGameOn/IK Driver/Scripts/Utility/IKD_DemoController.cs">
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Assets/scripts/Suspension.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="192">
<caret line="18" column="12" selection-start-line="18" selection-start-column="12" selection-end-line="18" selection-end-column="12" />
<state relative-caret-position="135">
<caret line="11" lean-forward="true" selection-start-line="11" selection-end-line="11" />
<folding>
<marker date="1593355878552" expanded="true" signature="52:1152" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="103:1150" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="411:1146" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="426:544" ph="/* CheckPointBlock.startPos = spawnPoint.position; ... */" />
<marker date="1593355878552" expanded="true" signature="570:601" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="610:640" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="728:853" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="915:1041" ph="{...}" />
<marker date="1593701676832" expanded="false" signature="6:78" ph="..." />
<marker date="1593701676832" expanded="true" signature="119:1580" ph="{...}" />
<marker date="1593701676832" expanded="true" signature="480:541" ph="{...}" />
<marker date="1593701676832" expanded="true" signature="599:1578" ph="{...}" />
<marker date="1593701676832" expanded="true" signature="683:1571" ph="{...}" />
<marker date="1593701676832" expanded="true" signature="1398:1561" ph="{...}" />
</folding>
</state>
</provider>
......@@ -90,7 +86,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/scripts/WallSphere.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-82">
<state relative-caret-position="615">
<caret line="48" column="40" selection-start-line="48" selection-start-column="24" selection-end-line="48" selection-end-column="40" />
<folding>
<marker date="1593186272773" expanded="true" signature="6:78" ph="..." />
......@@ -108,10 +104,10 @@
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/scripts/menuSystem.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="417">
<state relative-caret-position="990">
<caret line="76" selection-start-line="76" selection-end-line="76" />
<folding>
<marker date="1593114881024" expanded="true" signature="6:114" ph="..." />
......@@ -131,22 +127,6 @@
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/scripts/Warning.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="180">
<caret line="17" column="30" selection-start-line="17" selection-start-column="30" selection-end-line="17" selection-end-column="30" />
<folding>
<marker date="1590237775534" expanded="true" signature="6:78" ph="..." />
<marker date="1590237775534" expanded="true" signature="116:519" ph="{...}" />
<marker date="1590237775534" expanded="true" signature="233:254" ph="{...}" />
<marker date="1590237775534" expanded="true" signature="308:517" ph="{...}" />
<marker date="1590237775534" expanded="true" signature="386:511" ph="{...}" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/Standard Assets/Utility/SmoothFollow.cs">
<provider selected="true" editor-type-id="text-editor">
......@@ -165,7 +145,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/Standard Assets/Utility/WaypointCircuit.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="402">
<state relative-caret-position="3450">
<caret line="256" selection-start-line="256" selection-end-line="256" />
<folding>
<marker date="1586187136000" expanded="false" signature="6:94" ph="..." />
......@@ -232,7 +212,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/scripts/CheckPointBlock.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<state relative-caret-position="60">
<caret line="7" column="37" selection-start-line="7" selection-start-column="37" selection-end-line="7" selection-end-column="37" />
<folding>
<marker date="1593355837729" expanded="false" signature="6:78" ph="..." />
......@@ -251,8 +231,8 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/scripts/CarCustom.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240">
<caret line="20" column="5" lean-forward="true" selection-start-line="20" selection-start-column="5" selection-end-line="20" selection-end-column="5" />
<state relative-caret-position="105">
<caret line="13" column="14" selection-start-line="13" selection-start-column="14" selection-end-line="13" selection-end-column="14" />
<folding>
<marker date="1593355832249" expanded="false" signature="6:127" ph="..." />
<marker date="1593355832249" expanded="true" signature="167:1028" ph="{...}" />
......@@ -265,6 +245,22 @@
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/scripts/Respawner.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="165">
<caret line="16" column="36" selection-start-line="16" selection-start-column="29" selection-end-line="16" selection-end-column="36" />
<folding>
<marker date="1589657310806" expanded="false" signature="6:92" ph="..." />
<marker date="1589657310806" expanded="true" signature="132:589" ph="{...}" />
<marker date="1589657310806" expanded="true" signature="303:587" ph="{...}" />
<marker date="1589657310806" expanded="true" signature="348:430" ph="{...}" />
<marker date="1589657310806" expanded="true" signature="481:577" ph="{...}" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/TurnTheGameOn/IK Driver/Scripts/IKD_VehicleController.cs">
<provider selected="true" editor-type-id="text-editor">
......@@ -426,6 +422,7 @@
<setting file="file://$PROJECT_DIR$/Assets/scripts/WallSphere.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/scripts/Editor/MyEditor.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/scripts/DataSaver.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/scripts/Suspension.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/Standard Assets/Utility/ForcedReset.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/scripts/Warning.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/scripts/AICarSpawnerSystem.cs" root0="FORCE_HIGHLIGHTING" />
......@@ -463,10 +460,11 @@
<option value="$PROJECT_DIR$/Assets/scripts/menuSystem.cs" />
<option value="$PROJECT_DIR$/Assets/scripts/Wall.cs" />
<option value="$PROJECT_DIR$/Assets/scripts/WallSphere.cs" />
<option value="$PROJECT_DIR$/Assets/scripts/DataSaver.cs" />
<option value="$PROJECT_DIR$/Assets/scripts/CheckPointBlock.cs" />
<option value="$PROJECT_DIR$/Assets/scripts/CarCustom.cs" />
<option value="$PROJECT_DIR$/Assets/TurnTheGameOn/IK Driver/Scripts/Utility/IKD_DemoController.cs" />
<option value="$PROJECT_DIR$/Assets/scripts/DataSaver.cs" />
<option value="$PROJECT_DIR$/Assets/scripts/Suspension.cs" />
</list>
</option>
</component>
......@@ -477,7 +475,7 @@
</list>
</option>
</component>
<component name="ProjectFrameBounds" extendedState="7">
<component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="-10" />
<option name="y" value="130" />
<option name="width" value="1935" />
......@@ -491,11 +489,11 @@
<pane id="SolutionExplorer">
<option name="show-all-files" value="false" />
</pane>
<pane id="AssemblyExplorer" />
<pane id="UnityExplorer">
<option name="show-hidden-items" value="false" />
<option name="show-project-names" value="true" />
</pane>
<pane id="AssemblyExplorer" />
<pane id="FileSystemExplorer" />
</panes>
</component>
......@@ -567,12 +565,13 @@
<workItem from="1593113545384" duration="1808000" />
<workItem from="1593157840945" duration="9231000" />
<workItem from="1593185886187" duration="684000" />
<workItem from="1593195670299" duration="2264000" />
<workItem from="1593195670299" duration="2951000" />
<workItem from="1593701187520" duration="591000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="71150000" />
<option name="totallyTimeSpent" value="72428000" />
</component>
<component name="TodoView">
<todo-panel id="selected-file">
......@@ -584,10 +583,9 @@
</todo-panel>
</component>
<component name="ToolWindowManager">
<frame x="-7" y="-7" width="1550" height="838" extended-state="7" />
<editor active="true" />
<frame x="-7" y="-7" width="1550" height="838" extended-state="6" />
<layout>
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.33802816" />
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.342723" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
......@@ -891,20 +889,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/scripts/Respawner.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="420">
<caret line="33" selection-start-line="33" selection-end-line="33" />
<folding>
<marker date="1589657310806" expanded="false" signature="6:92" ph="..." />
<marker date="1589657310806" expanded="true" signature="132:589" ph="{...}" />
<marker date="1589657310806" expanded="true" signature="303:587" ph="{...}" />
<marker date="1589657310806" expanded="true" signature="348:430" ph="{...}" />
<marker date="1589657310806" expanded="true" signature="481:577" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/debuger.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
......@@ -959,6 +943,64 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../ShaderGraph_Unity/Temp/Compiled-Shader Graphs-simple flag.shader" />
<entry file="file://$PROJECT_DIR$/Assets/TurnTheGameOn/IK Driver/Scripts/Utility/IKD_DemoController.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="18" column="12" selection-start-line="18" selection-start-column="12" selection-end-line="18" selection-end-column="12" />
<folding>
<marker date="1593355878552" expanded="true" signature="52:1152" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="103:1150" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="411:1146" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="426:544" ph="/* CheckPointBlock.startPos = spawnPoint.position; ... */" />
<marker date="1593355878552" expanded="true" signature="570:601" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="610:640" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="728:853" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="915:1041" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/scripts/WallSphere.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="615">
<caret line="48" column="40" selection-start-line="48" selection-start-column="24" selection-end-line="48" selection-end-column="40" />
<folding>
<marker date="1593186272773" expanded="true" signature="6:78" ph="..." />
<marker date="1593186272773" expanded="true" signature="119:1970" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="389:505" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="563:617" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="705:1968" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="843:1076" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="976:1066" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="1318:1898" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="1433:1646" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="1663:1789" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/scripts/menuSystem.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="990">
<caret line="76" selection-start-line="76" selection-end-line="76" />
<folding>
<marker date="1593114881024" expanded="true" signature="6:114" ph="..." />
<marker date="1593114881024" expanded="true" signature="155:1657" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="654:675" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="703:805" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="755:799" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="843:1260" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="881:1057" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="1070:1254" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="1285:1325" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="1356:1655" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="1454:1545" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="1558:1649" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/Standard Assets/Utility/SmoothFollow.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="825">
......@@ -972,6 +1014,103 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/Standard Assets/Utility/WaypointCircuit.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="3450">
<caret line="256" selection-start-line="256" selection-end-line="256" />
<folding>
<marker date="1586187136000" expanded="false" signature="6:94" ph="..." />
<marker date="1586187136000" expanded="true" signature="141:6532" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="192:6530" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="564:631" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="985:1159" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="1033:1107" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="1213:1470" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="1524:3294" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="1591:1677" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="1770:1823" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="2195:3021" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="2310:2434" ph="/* get indices for the surrounding 2 points, because ... */" />
<marker date="1586187136000" expanded="true" signature="2556:2778" ph="/* 2nd point may have been the 'last' point - a dupe of the first, ... */" />
<marker date="1586187136000" expanded="true" signature="3038:3284" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="3388:3679" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="3411:3515" ph="/* comments are no use here... it's the catmull-rom equation. ... */" />
<marker date="1586187136000" expanded="true" signature="3731:4607" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="3754:3877" ph="/* transfer the position of each point and distances between points to arrays for ... */" />
<marker date="1586187136000" expanded="true" signature="4085:4597" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="4265:4583" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="4645:4696" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="4742:4792" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="4841:6032" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="4930:6022" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="5266:5669" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="5384:5585" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="5690:6008" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="5771:5990" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6091:6212" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6246:6524" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6400:6514" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6581:12891" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6719:12882" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6898:12264" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="7627:10137" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="7700:10123" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="7878:9943" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8147:8266" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8295:9921" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8361:8535" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8568:9895" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8662:9865" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8750:9831" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="9220:9394" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="9568:9742" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="10030:10105" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="10154:10627" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="10463:10569" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="10817:11501" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="11109:11188" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="11386:11487" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="11742:12087" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="11967:12073" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="12361:12586" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="12700:12876" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="12761:12866" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/scripts/CheckPointBlock.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60">
<caret line="7" column="37" selection-start-line="7" selection-start-column="37" selection-end-line="7" selection-end-column="37" />
<folding>
<marker date="1593355837729" expanded="false" signature="6:78" ph="..." />
<marker date="1593355837729" expanded="true" signature="124:949" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="299:320" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="378:399" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="448:947" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="489:941" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="528:693" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="710:893" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/scripts/CarCustom.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="105">
<caret line="13" column="14" selection-start-line="13" selection-start-column="14" selection-end-line="13" selection-end-column="14" />
<folding>
<marker date="1593355832249" expanded="false" signature="6:127" ph="..." />
<marker date="1593355832249" expanded="true" signature="167:1028" ph="{...}" />
<marker date="1593355832249" expanded="true" signature="262:451" ph="{...}" />
<marker date="1593355832249" expanded="true" signature="478:664" ph="{...}" />
<marker date="1593355832249" expanded="true" signature="694:745" ph="{...}" />
<marker date="1593355832249" expanded="true" signature="780:1026" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/TurnTheGameOn/IK Driver/Scripts/IKD_VehicleController.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="6225">
......@@ -1093,192 +1232,67 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/scripts/WallSphere.cs">
<entry file="file://$PROJECT_DIR$/Assets/scripts/Respawner.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-82">
<caret line="48" column="40" selection-start-line="48" selection-start-column="24" selection-end-line="48" selection-end-column="40" />
<state relative-caret-position="165">
<caret line="16" column="36" selection-start-line="16" selection-start-column="29" selection-end-line="16" selection-end-column="36" />
<folding>
<marker date="1593186272773" expanded="true" signature="6:78" ph="..." />
<marker date="1593186272773" expanded="true" signature="119:1970" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="389:505" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="563:617" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="705:1968" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="843:1076" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="976:1066" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="1318:1898" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="1433:1646" ph="{...}" />
<marker date="1593186272773" expanded="true" signature="1663:1789" ph="{...}" />
<marker date="1589657310806" expanded="false" signature="6:92" ph="..." />
<marker date="1589657310806" expanded="true" signature="132:589" ph="{...}" />
<marker date="1589657310806" expanded="true" signature="303:587" ph="{...}" />
<marker date="1589657310806" expanded="true" signature="348:430" ph="{...}" />
<marker date="1589657310806" expanded="true" signature="481:577" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../ShaderGraph_Unity/Temp/Compiled-Shader Graphs-simple flag.shader">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/Assets/scripts/DataSaver.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-29">
<caret line="132" column="124" selection-start-line="132" selection-start-column="113" selection-end-line="132" selection-end-column="124" />
<state relative-caret-position="296">
<caret line="192" column="48" selection-start-line="192" selection-start-column="48" selection-end-line="192" selection-end-column="48" />
<folding>
<marker date="1593355671826" expanded="true" signature="7:181" ph="..." />
<marker date="1593355671826" expanded="true" signature="221:6850" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="975:1307" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1209:1299" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1333:1541" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1493:1533" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1607:1669" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1695:5582" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1736:1777" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1888:2229" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="1911:2219" ph="/* Creating First row of titles manually.. ... */" />
<marker date="1593355671826" expanded="true" signature="3072:3366" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="3383:3577" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="4060:4196" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="4214:4484" ph="/* StreamWriter sw = new StreamWriter(filePath); ... */" />
<marker date="1593355671826" expanded="true" signature="4497:5404" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="4546:5394" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="4595:5318" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="5432:5547" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="5717:5803" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="5834:6848" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="5868:6441" ph="/* while (true) ... */" />
<marker date="1593355671826" expanded="true" signature="6580:6841" ph="{...}" />
<marker date="1593355671826" expanded="true" signature="6669:6799" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="7:181" ph="..." />
<marker date="1593701457472" expanded="true" signature="221:7480" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1012:1344" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1246:1336" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1370:1578" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1530:1570" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1644:1706" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1732:6212" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1773:1814" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1925:2266" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="1948:2256" ph="/* Creating First row of titles manually.. ... */" />
<marker date="1593701457472" expanded="true" signature="3109:3403" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="3420:3614" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="3698:4045" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="4062:4397" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="4584:4720" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="4738:5008" ph="/* StreamWriter sw = new StreamWriter(filePath); ... */" />
<marker date="1593701457472" expanded="true" signature="5021:6034" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="5070:6024" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="5119:5842" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="5863:5948" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="6062:6177" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="6347:6433" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="6464:7478" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="6498:7071" ph="/* while (true) ... */" />
<marker date="1593701457472" expanded="true" signature="7210:7471" ph="{...}" />
<marker date="1593701457472" expanded="true" signature="7299:7429" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/Standard Assets/Utility/WaypointCircuit.cs">
<entry file="file://$PROJECT_DIR$/Assets/scripts/Suspension.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="402">
<caret line="256" selection-start-line="256" selection-end-line="256" />
<state relative-caret-position="135">
<caret line="11" lean-forward="true" selection-start-line="11" selection-end-line="11" />
<folding>
<marker date="1586187136000" expanded="false" signature="6:94" ph="..." />
<marker date="1586187136000" expanded="true" signature="141:6532" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="192:6530" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="564:631" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="985:1159" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="1033:1107" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="1213:1470" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="1524:3294" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="1591:1677" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="1770:1823" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="2195:3021" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="2310:2434" ph="/* get indices for the surrounding 2 points, because ... */" />
<marker date="1586187136000" expanded="true" signature="2556:2778" ph="/* 2nd point may have been the 'last' point - a dupe of the first, ... */" />
<marker date="1586187136000" expanded="true" signature="3038:3284" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="3388:3679" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="3411:3515" ph="/* comments are no use here... it's the catmull-rom equation. ... */" />
<marker date="1586187136000" expanded="true" signature="3731:4607" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="3754:3877" ph="/* transfer the position of each point and distances between points to arrays for ... */" />
<marker date="1586187136000" expanded="true" signature="4085:4597" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="4265:4583" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="4645:4696" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="4742:4792" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="4841:6032" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="4930:6022" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="5266:5669" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="5384:5585" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="5690:6008" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="5771:5990" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6091:6212" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6246:6524" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6400:6514" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6581:12891" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6719:12882" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="6898:12264" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="7627:10137" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="7700:10123" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="7878:9943" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8147:8266" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8295:9921" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8361:8535" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8568:9895" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8662:9865" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="8750:9831" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="9220:9394" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="9568:9742" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="10030:10105" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="10154:10627" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="10463:10569" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="10817:11501" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="11109:11188" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="11386:11487" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="11742:12087" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="11967:12073" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="12361:12586" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="12700:12876" ph="{...}" />
<marker date="1586187136000" expanded="true" signature="12761:12866" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/scripts/CheckPointBlock.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
<caret line="7" column="37" selection-start-line="7" selection-start-column="37" selection-end-line="7" selection-end-column="37" />
<folding>
<marker date="1593355837729" expanded="false" signature="6:78" ph="..." />
<marker date="1593355837729" expanded="true" signature="124:949" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="299:320" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="378:399" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="448:947" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="489:941" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="528:693" ph="{...}" />
<marker date="1593355837729" expanded="true" signature="710:893" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/scripts/CarCustom.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240">
<caret line="20" column="5" lean-forward="true" selection-start-line="20" selection-start-column="5" selection-end-line="20" selection-end-column="5" />
<folding>
<marker date="1593355832249" expanded="false" signature="6:127" ph="..." />
<marker date="1593355832249" expanded="true" signature="167:1028" ph="{...}" />
<marker date="1593355832249" expanded="true" signature="262:451" ph="{...}" />
<marker date="1593355832249" expanded="true" signature="478:664" ph="{...}" />
<marker date="1593355832249" expanded="true" signature="694:745" ph="{...}" />
<marker date="1593355832249" expanded="true" signature="780:1026" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/TurnTheGameOn/IK Driver/Scripts/Utility/IKD_DemoController.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="192">
<caret line="18" column="12" selection-start-line="18" selection-start-column="12" selection-end-line="18" selection-end-column="12" />
<folding>
<marker date="1593355878552" expanded="true" signature="52:1152" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="103:1150" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="411:1146" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="426:544" ph="/* CheckPointBlock.startPos = spawnPoint.position; ... */" />
<marker date="1593355878552" expanded="true" signature="570:601" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="610:640" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="728:853" ph="{...}" />
<marker date="1593355878552" expanded="true" signature="915:1041" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/scripts/menuSystem.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="417">
<caret line="76" selection-start-line="76" selection-end-line="76" />
<folding>
<marker date="1593114881024" expanded="true" signature="6:114" ph="..." />
<marker date="1593114881024" expanded="true" signature="155:1657" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="654:675" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="703:805" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="755:799" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="843:1260" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="881:1057" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="1070:1254" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="1285:1325" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="1356:1655" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="1454:1545" ph="{...}" />
<marker date="1593114881024" expanded="true" signature="1558:1649" ph="{...}" />
<marker date="1593701676832" expanded="false" signature="6:78" ph="..." />
<marker date="1593701676832" expanded="true" signature="119:1580" ph="{...}" />
<marker date="1593701676832" expanded="true" signature="480:541" ph="{...}" />
<marker date="1593701676832" expanded="true" signature="599:1578" ph="{...}" />
<marker date="1593701676832" expanded="true" signature="683:1571" ph="{...}" />
<marker date="1593701676832" expanded="true" signature="1398:1561" ph="{...}" />
</folding>
</state>
</provider>
......
......@@ -34,6 +34,8 @@ public class DataSaver : MonoBehaviour
private String curentName;
public static int checkPoint = 1;
private bool newLineAdded = true;
private int lastCheckPoint = 0;
// public static Action<String,Transform> OnCheckPoint;
private bool stable = false;
......@@ -129,8 +131,22 @@ public class DataSaver : MonoBehaviour
rowDataTemp[10] = "None";
rowDataTemp[11] = "None";
}
string newLine = string.Format("{0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},{12}", rowDataTemp[0], rowDataTemp[1], rowDataTemp[2], rowDataTemp[3],rowDataTemp[4],
rowDataTemp[5], rowDataTemp[6], rowDataTemp[7], rowDataTemp[8], rowDataTemp[9], rowDataTemp[10], rowDataTemp[11],checkPoint);
string newLine = null;
if (lastCheckPoint != checkPoint)
{
newLine = string.Format("{0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},{12}", rowDataTemp[0], rowDataTemp[1], rowDataTemp[2], rowDataTemp[3],rowDataTemp[4],
rowDataTemp[5], rowDataTemp[6], rowDataTemp[7], rowDataTemp[8], rowDataTemp[9], rowDataTemp[10], rowDataTemp[11],"****");
}
else
{
newLine = string.Format("{0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11}", rowDataTemp[0], rowDataTemp[1], rowDataTemp[2], rowDataTemp[3],rowDataTemp[4],
rowDataTemp[5], rowDataTemp[6], rowDataTemp[7], rowDataTemp[8], rowDataTemp[9], rowDataTemp[10], rowDataTemp[11]);
}
timePassed = 0;
csv.AppendLine(newLine);
......@@ -172,6 +188,10 @@ public class DataSaver : MonoBehaviour
csv.AppendLine(newLine2);
newLineAdded = true;
}
else
{
lastCheckPoint = checkPoint;
}
File.AppendAllText(filePath, csv.ToString());
}
}
......
......@@ -16,6 +16,9 @@ public class Suspension : MonoBehaviour
Rigidbody m_rigidbody;
public bool setSus;
[Range(0.001f, 100)]
public float divider = 10f;
// Start is called before the first frame update
void Start()
{
......@@ -44,9 +47,9 @@ public class Suspension : MonoBehaviour
if(spring.targetPosition > 0 && setSus)
{
wc.suspensionDistance = wc.sprungMass * Physics.gravity.magnitude / (spring.targetPosition * spring.spring);
wc.suspensionDistance = wc.sprungMass * Physics.gravity.magnitude / (spring.targetPosition * spring.spring * divider);
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment