From 5799920c430c0258d4a6d423ac9b6b8b6e79f3c6 Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sun, 28 Apr 2019 10:56:35 +0200 Subject: Updated rock bottom and top obstacles --- nGJ2019/Assets/Scripts/ObstacleSpawner.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nGJ2019/Assets/Scripts/ObstacleSpawner.cs') diff --git a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs index 84bc0d9..b1614b3 100644 --- a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs +++ b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs @@ -51,7 +51,7 @@ public class ObstacleSpawner : MonoBehaviour { timeline.Add(i * 2.5f, new Vector3(0, 0, 0), ObstacleType.caveWalls); timeline.Add(i * 12.5f + 3, new Vector3(0, 2.75f, 0), ObstacleType.rockTop); - timeline.Add(i * 12.5f + 6, new Vector3(0, -2, 0), ObstacleType.rockBottom); + timeline.Add(i * 12.5f + 6, new Vector3(0, 1, 0), ObstacleType.rockBottom); timeline.Add(i * 12.5f + 9, new Vector3(0, 0, 0), ObstacleType.narrowPassage); timeline.Add(i * 12.5f + 12.5f, new Vector3(0, -2.5f, 2), ObstacleType.rockJaws); timeline.Add(i * 12.5f + 15f, new Vector3(0, 0.5f, 3), ObstacleType.net); @@ -63,9 +63,9 @@ public class ObstacleSpawner : MonoBehaviour timeline.Add(i * 2.5f, new Vector3(0, 0, 0), ObstacleType.caveWalls); timeline.Add(10, new Vector3(0, 2.75f, 0), ObstacleType.rockTop); - timeline.Add(15, new Vector3(0, -2, 0), ObstacleType.rockBottom); + timeline.Add(15, new Vector3(0, 1, 0), ObstacleType.rockBottom); timeline.Add(20, new Vector3(0, 2.75f, 0), ObstacleType.rockTop); - timeline.Add(23, new Vector3(0, -2, 0), ObstacleType.rockBottom); + timeline.Add(23, new Vector3(0, 1, 0), ObstacleType.rockBottom); timeline.Add(26, new Vector3(0, 2.75f, 0), ObstacleType.rockTop); timeline.Add(40, new Vector3(0, 0, 0), ObstacleType.narrowPassage); @@ -89,7 +89,7 @@ public class ObstacleSpawner : MonoBehaviour position = new Vector3(0, 2.75f, 0); break; case ObstacleType.rockBottom: - position = new Vector3(0, -2, 0); + position = new Vector3(0, 1, 0); break; case ObstacleType.rockJaws: position = new Vector3(0, -2.5f, 2); -- cgit v1.2.3