diff --git a/Assets/Scenes/Level1Scene.shade b/Assets/Scenes/Level1Scene.shade index ec97b59f..e6134eae 100644 --- a/Assets/Scenes/Level1Scene.shade +++ b/Assets/Scenes/Level1Scene.shade @@ -43,6 +43,18 @@ Mesh: 141180771 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1.20000005, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.474999994, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 40 Name: tableTop @@ -51,13 +63,25 @@ Components: Transform Component: Translate: {x: 4, y: 0, z: -0.649999976} - Rotate: {x: 0, y: 0, z: 0} + Rotate: {x: -0, y: 0, z: -0} Scale: {x: 0.999741554, y: 0.800000012, z: 0.999741554} IsActive: true Renderable Component: Mesh: 141180771 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1.20000005, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.474999994, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 39 Name: tableTop @@ -66,13 +90,25 @@ Components: Transform Component: Translate: {x: 3.64590621, y: 0, z: -9.42525005} - Rotate: {x: 0, y: 0, z: 0} + Rotate: {x: -0, y: 0, z: -0} Scale: {x: 1.44297516, y: 0.800000012, z: 0.999741554} IsActive: true Renderable Component: Mesh: 141180771 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1.20000005, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.474999994, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 38 Name: Sink @@ -81,13 +117,70 @@ Components: Transform Component: Translate: {x: -5.35824203, y: -0.25, z: -9.39999962} - Rotate: {x: 0, y: -1.57079601, z: 0} - Scale: {x: 0.999681234, y: 1, z: 0.999681234} + Rotate: {x: -0, y: -1.57079601, z: 0} + Scale: {x: 0.999681175, y: 1, z: 0.999681175} IsActive: true Renderable Component: Mesh: 141816633 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.899999976, y: 0.100000001, z: 0.899999976} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.850000024, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.899999976, y: 0.300000012, z: 0.100000001} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.04999995, z: 0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.899999976, y: 0.300000012, z: 0.100000001} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.04999995, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 0.300000012, z: 0.899999976} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.04999995, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 0.300000012, z: 0.899999976} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: -0.449999988, y: 1.04999995, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.550000012, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 30 Name: tableTop @@ -118,6 +211,18 @@ Mesh: 141180771 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1.20000005, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.474999994, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 67 Name: tableTop @@ -133,6 +238,18 @@ Mesh: 141180771 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 3, y: 1.20000005, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: -1, y: 0.349999994, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 65 Name: washingMachine @@ -148,6 +265,18 @@ Mesh: 138744683 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1.14999998, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 66 Name: washingMachineDoor @@ -171,13 +300,70 @@ Components: Transform Component: Translate: {x: 1.93640828, y: -0.25, z: -0.649999976} - Rotate: {x: 0, y: 1.57079601, z: 0} - Scale: {x: 0.999696851, y: 1, z: 0.999696851} + Rotate: {x: -0, y: 1.57079601, z: -0} + Scale: {x: 0.999696791, y: 1, z: 0.999696791} IsActive: true Renderable Component: Mesh: 141816633 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.899999976, y: 0.100000001, z: 0.899999976} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.850000024, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.899999976, y: 0.300000012, z: 0.100000001} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.04999995, z: 0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.899999976, y: 0.300000012, z: 0.100000001} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.04999995, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 0.300000012, z: 0.899999976} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.04999995, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 0.300000012, z: 0.899999976} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: -0.449999988, y: 1.04999995, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.550000012, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 57 Name: tableTop @@ -186,13 +372,25 @@ Components: Transform Component: Translate: {x: 5, y: 0, z: -0.751354992} - Rotate: {x: 0, y: 0, z: 0} + Rotate: {x: -0, y: 0, z: -0} Scale: {x: 0.999741554, y: 0.800000012, z: 1.20710659} IsActive: true Renderable Component: Mesh: 141180771 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1.20000005, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.474999994, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 43 Name: washingMachine @@ -208,6 +406,18 @@ Mesh: 138744683 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1.14999998, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 44 Name: washingMachineDoor @@ -231,13 +441,25 @@ Components: Transform Component: Translate: {x: 4.95315123, y: 0, z: -3.381464} - Rotate: {x: 0, y: -3.1415925, z: 0} + Rotate: {x: -0, y: -3.1415925, z: 0} Scale: {x: 0.800000012, y: 0.800000012, z: 0.800000012} IsActive: true Renderable Component: Mesh: 138744683 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1.14999998, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 131081 Name: washingMachineDoor @@ -246,8 +468,8 @@ Components: Transform Component: Translate: {x: 0.51047945, y: 0.642518938, z: 0.365010053} - Rotate: {x: 0, y: 1.57079649, z: 0} - Scale: {x: 0.999917805, y: 1, z: 0.999917805} + Rotate: {x: -0, y: 1.57079649, z: 0} + Scale: {x: 0.999917746, y: 1, z: 0.999917746} IsActive: true Renderable Component: Mesh: 139502794 @@ -294,6 +516,54 @@ Mesh: 141619727 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.0299999993, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.985000014, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.47500002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.97000003, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 56 Name: Shelf @@ -309,6 +579,54 @@ Mesh: 141619727 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.0299999993, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.985000014, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.47500002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.97000003, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 55 Name: Shelf @@ -324,6 +642,54 @@ Mesh: 141619727 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.0299999993, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.985000014, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.47500002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.97000003, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 65559 Name: Shelf @@ -339,6 +705,54 @@ Mesh: 141619727 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.0299999993, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.985000014, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.47500002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.97000003, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 131094 Name: Shelf @@ -354,6 +768,54 @@ Mesh: 141619727 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.0299999993, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.985000014, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.47500002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.97000003, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 29 Name: Shelf @@ -369,6 +831,54 @@ Mesh: 141619727 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.0299999993, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.985000014, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.47500002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.97000003, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 65548 Name: Shelf @@ -384,6 +894,54 @@ Mesh: 141619727 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.0299999993, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.985000014, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.47500002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.97000003, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 65546 Name: Shelf @@ -399,6 +957,54 @@ Mesh: 141619727 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.0299999993, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.985000014, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.47500002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.04999995, y: 0.0500000007, z: 0.550000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.97000003, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 65618 Name: BoxMaster @@ -418,13 +1024,25 @@ Components: Transform Component: Translate: {x: -4.85673237, y: 0, z: -3.41360497} - Rotate: {x: 0, y: -1.57079601, z: 0} - Scale: {x: 1.25, y: 1.25, z: 1.25} + Rotate: {x: -0, y: -1.57079601, z: 0} + Scale: {x: 1.24999988, y: 1.25, z: 1.24999988} IsActive: true Renderable Component: Mesh: 139750047 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.400000006, y: 0.5, z: 0.400000006} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.25, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 77 Name: box @@ -440,6 +1058,18 @@ Mesh: 137072050 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.419999987, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 76 Name: box @@ -448,13 +1078,25 @@ Components: Transform Component: Translate: {x: 4.13454485, y: 2.38418579e-07, z: -1.58559704} - Rotate: {x: 0, y: -0.855899215, z: 0} + Rotate: {x: -0, y: -0.855899215, z: 0} Scale: {x: 1.24992537, y: 1.25, z: 1.24992537} IsActive: true Renderable Component: Mesh: 139750047 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.400000006, y: 0.5, z: 0.400000006} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.25, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 75 Name: box @@ -463,13 +1105,25 @@ Components: Transform Component: Translate: {x: -3.44867873, y: 0, z: -3.41360497} - Rotate: {x: 0, y: -1.57079601, z: 0} - Scale: {x: 1.70944798, y: 1.71000004, z: 1.70944798} + Rotate: {x: -0, y: -1.57079601, z: 0} + Scale: {x: 1.70944786, y: 1.71000004, z: 1.70944786} IsActive: true Renderable Component: Mesh: 137072050 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.400000006, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 73 Name: box @@ -485,6 +1139,18 @@ Mesh: 149524108 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 72 Name: box @@ -500,6 +1166,18 @@ Mesh: 149524108 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.5, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 71 Name: box @@ -515,6 +1193,18 @@ Mesh: 137072050 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.159999996, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 70 Name: box @@ -530,6 +1220,18 @@ Mesh: 149524108 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.699999988, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 69 Name: box @@ -545,6 +1247,18 @@ Mesh: 149524108 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.25, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 63 Name: box @@ -560,6 +1274,18 @@ Mesh: 137072050 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.219999999, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 62 Name: box @@ -575,6 +1301,18 @@ Mesh: 137072050 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.270000011, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 61 Name: box @@ -590,6 +1328,18 @@ Mesh: 137072050 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.400000006, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 60 Name: box @@ -605,6 +1355,18 @@ Mesh: 137072050 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.550000012, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 59 Name: box @@ -620,6 +1382,18 @@ Mesh: 137072050 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.419999987, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 58 Name: box @@ -635,6 +1409,18 @@ Mesh: 139750047 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.400000006, y: 0.5, z: 0.400000006} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.25, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 34 Name: box @@ -650,6 +1436,18 @@ Mesh: 149524108 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.25, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 33 Name: box @@ -665,6 +1463,18 @@ Mesh: 137072050 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.170000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 32 Name: box @@ -680,6 +1490,18 @@ Mesh: 137072050 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.280000001, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 31 Name: box @@ -695,6 +1517,18 @@ Mesh: 149524108 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.449999988, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 24 Name: box @@ -710,6 +1544,18 @@ Mesh: 137072050 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.5, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.200000003, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 81 Name: WallsMaster @@ -736,6 +1582,18 @@ Mesh: 147863396 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 79 Name: Wall @@ -751,6 +1609,18 @@ Mesh: 147863396 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 65589 Name: WallCorner @@ -759,13 +1629,34 @@ Components: Transform Component: Translate: {x: -9.5, y: 0, z: -10} - Rotate: {x: 0, y: -1.57079601, z: 0} - Scale: {x: 0.999981344, y: 1, z: 0.999981344} + Rotate: {x: -0, y: -1.57079601, z: 0} + Scale: {x: 0.999981284, y: 1, z: 0.999981284} IsActive: true Renderable Component: Mesh: 134714737 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.10000002, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.25, y: 2.20000005, z: 1.10000002} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 131083 Name: WallCorner @@ -781,6 +1672,27 @@ Mesh: 134714737 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.10000002, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.25, y: 2.20000005, z: 1.10000002} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 65604 Name: WallCorner @@ -796,6 +1708,27 @@ Mesh: 134714737 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.10000002, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.25, y: 2.20000005, z: 1.10000002} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 65588 Name: WallCorner @@ -804,13 +1737,34 @@ Components: Transform Component: Translate: {x: 5.5, y: 0, z: -10} - Rotate: {x: 0, y: -3.1415925, z: 0} + Rotate: {x: -0, y: -3.1415925, z: 0} Scale: {x: 0.999977052, y: 1, z: 0.999977052} IsActive: true Renderable Component: Mesh: 134714737 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.10000002, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.25, y: 2.20000005, z: 1.10000002} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 54 Name: Wall @@ -819,13 +1773,52 @@ Components: Transform Component: Translate: {x: 2, y: 0, z: -10} - Rotate: {x: 0, y: 3.14159274, z: 0} - Scale: {x: 0.999978602, y: 1, z: 0.999978602} + Rotate: {x: -0, y: -3.1415925, z: 0} + Scale: {x: 0.999978125, y: 1, z: 0.999978125} IsActive: true Renderable Component: Mesh: 149786048 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 0.200000003, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 2.0999999, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 0.899999976, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.449999988, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: -0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 50 Name: Wall @@ -841,6 +1834,45 @@ Mesh: 138781993 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 0.200000003, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 2.0999999, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 0.899999976, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.449999988, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: -0.899999976, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.899999976, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 49 Name: Wall @@ -856,6 +1888,45 @@ Mesh: 138781993 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 0.200000003, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 2.0999999, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 0.899999976, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.449999988, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: -0.899999976, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.899999976, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 48 Name: Wall @@ -864,13 +1935,25 @@ Components: Transform Component: Translate: {x: 5.5, y: 0, z: -2} - Rotate: {x: 0, y: 1.57079601, z: 0} - Scale: {x: 0.999951959, y: 1, z: 0.999951959} + Rotate: {x: -0, y: 1.57079601, z: -0} + Scale: {x: 0.999951839, y: 1, z: 0.999951839} IsActive: true Renderable Component: Mesh: 148351779 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 47 Name: Wall @@ -886,6 +1969,45 @@ Mesh: 138781993 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 0.200000003, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 2.0999999, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 0.899999976, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.449999988, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: -0.899999976, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.899999976, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 51 Name: WallCorner @@ -901,6 +2023,27 @@ Mesh: 134714737 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.10000002, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.25, y: 2.20000005, z: 1.10000002} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 65543 Name: WallCorner @@ -909,13 +2052,34 @@ Components: Transform Component: Translate: {x: -2.5, y: 0, z: -8} - Rotate: {x: 0, y: 0, z: 0} + Rotate: {x: -0, y: 0, z: -0} Scale: {x: 1, y: 1, z: 1} IsActive: true Renderable Component: Mesh: 134714737 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.10000002, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.25, y: 2.20000005, z: 1.10000002} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 46 Name: Wall @@ -931,6 +2095,18 @@ Mesh: 140834166 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 45 Name: Wall @@ -939,13 +2115,25 @@ Components: Transform Component: Translate: {x: -3.5, y: 0, z: -3} - Rotate: {x: 0, y: 0, z: 0} + Rotate: {x: -0, y: 0, z: -0} Scale: {x: 0.999978602, y: 1, z: 0.999978602} IsActive: true Renderable Component: Mesh: 142689599 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 37 Name: Wall @@ -961,6 +2149,18 @@ Mesh: 142689599 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 26 Name: Wall @@ -969,13 +2169,25 @@ Components: Transform Component: Translate: {x: -5.5, y: 0, z: -10} - Rotate: {x: 0, y: 0, z: 0} + Rotate: {x: -0, y: 0, z: -0} Scale: {x: 0.999978602, y: 1, z: 0.999978602} IsActive: true Renderable Component: Mesh: 142689599 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 25 Name: Wall @@ -984,13 +2196,25 @@ Components: Transform Component: Translate: {x: -7.5, y: 0, z: -10} - Rotate: {x: 0, y: 0, z: 0} + Rotate: {x: -0, y: 0, z: -0} Scale: {x: 0.999978602, y: 1, z: 0.999978602} IsActive: true Renderable Component: Mesh: 142689599 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 131090 Name: Wall @@ -1006,6 +2230,45 @@ Mesh: 138781993 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 0.200000003, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 2.0999999, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 0.899999976, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.449999988, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: -0.899999976, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.100000001, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.899999976, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 21 Name: GarageDoor @@ -1014,13 +2277,25 @@ Components: Transform Component: Translate: {x: -9.49340343, y: 0, z: -6.48306847} - Rotate: {x: 0, y: 1.57079601, z: 0} - Scale: {x: 1.49332035, y: 1, z: 0.432201624} + Rotate: {x: -0, y: 1.57079601, z: -0} + Scale: {x: 1.49332023, y: 1, z: 0.432201594} IsActive: true Renderable Component: Mesh: 148373587 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 20 Name: WallCorner @@ -1036,6 +2311,27 @@ Mesh: 134714737 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.10000002, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.25, y: 2.20000005, z: 1.10000002} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 16 Name: WallCorner @@ -1044,13 +2340,34 @@ Components: Transform Component: Translate: {x: -9.5, y: 0, z: -3} - Rotate: {x: 0, y: 0, z: 0} + Rotate: {x: -0, y: 0, z: -0} Scale: {x: 1, y: 1, z: 1} IsActive: true Renderable Component: Mesh: 134714737 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.10000002, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.25, y: 2.20000005, z: 1.10000002} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 19 Name: Wall @@ -1059,13 +2376,25 @@ Components: Transform Component: Translate: {x: -9.5, y: 0, z: -4.5} - Rotate: {x: 0, y: 1.57079601, z: 0} - Scale: {x: 0.999944031, y: 1, z: 0.999944031} + Rotate: {x: -0, y: 1.57079601, z: -0} + Scale: {x: 0.999943912, y: 1, z: 0.999943912} IsActive: true Renderable Component: Mesh: 139594893 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 17 Name: Wall @@ -1074,13 +2403,25 @@ Components: Transform Component: Translate: {x: 1, y: 0, z: -10} - Rotate: {x: 0, y: 0, z: 0} + Rotate: {x: -0, y: 0, z: -0} Scale: {x: 0.999978602, y: 1, z: 0.999978602} IsActive: true Renderable Component: Mesh: 147863396 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 65551 Name: Wall @@ -1089,13 +2430,25 @@ Components: Transform Component: Translate: {x: -9.5, y: 0, z: -8.5} - Rotate: {x: 0, y: -1.57079601, z: 0} - Scale: {x: 0.999919295, y: 1, z: 0.999919295} + Rotate: {x: -0, y: -1.57079601, z: 0} + Scale: {x: 0.999919236, y: 1, z: 0.999919236} IsActive: true Renderable Component: Mesh: 139594893 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 14 Name: Wall @@ -1111,6 +2464,18 @@ Mesh: 142689599 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 13 Name: Wall @@ -1119,13 +2484,25 @@ Components: Transform Component: Translate: {x: 5.5, y: 0, z: -8} - Rotate: {x: 0, y: 1.57079601, z: 0} - Scale: {x: 0.999920011, y: 1, z: 0.999920011} + Rotate: {x: -0, y: 1.57079601, z: -0} + Scale: {x: 0.999919832, y: 1, z: 0.999919832} IsActive: true Renderable Component: Mesh: 148351779 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 2, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 6 Name: WallCorner @@ -1141,6 +2518,27 @@ Mesh: 134714737 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.10000002, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.25, y: 2.20000005, z: 1.10000002} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 4 Name: WallCorner @@ -1156,9 +2554,30 @@ Mesh: 134714737 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.10000002, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.449999988, y: 1.10000002, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.25, y: 2.20000005, z: 1.10000002} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.10000002, z: -0.449999988} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 0 - Name: Default + Name: THISFKINGGHOSTLASTCHANCE IsActive: true NumberOfChildren: 1 Components: @@ -1171,7 +2590,9 @@ Mesh: 150924328 Material: 132690168 IsActive: true - Scripts: ~ + Scripts: + - Type: FixRotation + Enabled: true - EID: 2 Name: DoorFrame IsActive: true @@ -1179,8 +2600,8 @@ Components: Transform Component: Translate: {x: 0, y: 0, z: 0} - Rotate: {x: 0, y: -3.7252903e-09, z: 0} - Scale: {x: 1, y: 0.999999881, z: 0.999999762} + Rotate: {x: 0, y: 0, z: 0} + Scale: {x: 1, y: 1, z: 1} IsActive: true Renderable Component: Mesh: 146862321 @@ -1193,14 +2614,26 @@ NumberOfChildren: 0 Components: Transform Component: - Translate: {x: -0.38538447, y: 0, z: 0.101399139} - Rotate: {x: -0, y: 0, z: 0} + Translate: {x: -0.3853845, y: 0, z: 0.101399124} + Rotate: {x: 0, y: 0, z: 0} Scale: {x: 0.999992847, y: 1, z: 0.999992847} IsActive: true Renderable Component: Mesh: 147152385 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.400000006, y: 1, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 65563 Name: WallDoorHole @@ -1238,14 +2671,26 @@ NumberOfChildren: 0 Components: Transform Component: - Translate: {x: -0.3853845, y: 0, z: 0.101399124} - Rotate: {x: 0, y: 3.14159274, z: 0} - Scale: {x: 0.999992847, y: 1, z: 0.999992847} + Translate: {x: -0.38538456, y: 0, z: 0.101399854} + Rotate: {x: -0, y: -3.1415925, z: 0} + Scale: {x: 0.999992371, y: 1, z: 0.999992371} IsActive: true Renderable Component: Mesh: 147152385 Material: 132690168 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 2.20000005, z: 0.25} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0.400000006, y: 1, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 8 Name: CarBody @@ -1261,6 +2706,27 @@ Mesh: 135736753 Material: 131956078 IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.79999995, y: 1, z: 4} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.550000012, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.79999995, y: 1, z: 2.70000005} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 1.5, z: -0.600000024} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true Scripts: ~ - EID: 141 Name: SkyDome @@ -1269,7 +2735,7 @@ Components: Transform Component: Translate: {x: 0, y: 0, z: 0} - Rotate: {x: -0, y: 0, z: -0} + Rotate: {x: 0, y: 0, z: 0} Scale: {x: 46.7948341, y: 46.7948341, z: 46.7948341} IsActive: true Renderable Component: @@ -2026,7 +3492,7 @@ - EID: 142 Name: FloorMaster IsActive: true - NumberOfChildren: 49 + NumberOfChildren: 50 Components: Transform Component: Translate: {x: 0, y: 0, z: 0} @@ -2769,85 +4235,13 @@ Material: 132690168 IsActive: true Scripts: ~ -- EID: 136 - Name: REPLACE_ME - IsActive: true - NumberOfChildren: 4 - Components: ~ - Scripts: ~ -- EID: 137 - Name: Food_Cheese +- EID: 226 + Name: FloorCollision IsActive: true NumberOfChildren: 0 Components: Transform Component: - Translate: {x: 3.25, y: 1.059461, z: -0.5} - Rotate: {x: -0, y: 0, z: -0} - Scale: {x: 1, y: 1, z: 1} - IsActive: true - Renderable Component: - Mesh: 141841143 - Material: 131956078 - IsActive: true - Scripts: ~ -- EID: 138 - Name: Food_Apple - IsActive: true - NumberOfChildren: 0 - Components: - Transform Component: - Translate: {x: -2.5, y: 0.809460998, z: -5} - Rotate: {x: 0, y: 0, z: 0} - Scale: {x: 1.5, y: 1.5, z: 1.5} - IsActive: true - Renderable Component: - Mesh: 144128170 - Material: 131956078 - IsActive: true - Scripts: ~ -- EID: 139 - Name: Food_Meat - IsActive: true - NumberOfChildren: 0 - Components: - Transform Component: - Translate: {x: 3.75, y: 1.309461, z: -9.25} - Rotate: {x: 0, y: 0, z: 0} - Scale: {x: 1, y: 1, z: 1} - IsActive: true - Renderable Component: - Mesh: 136892700 - Material: 131956078 - IsActive: true - Scripts: ~ -- EID: 140 - Name: RaccoonSpawnLoc - IsActive: true - NumberOfChildren: 0 - Components: - Transform Component: - Translate: {x: -7.75, y: 0.936967731, z: -4} - Rotate: {x: 0, y: 1.57079601, z: 0} - Scale: {x: 0.999982595, y: 1, z: 0.999982595} - IsActive: true - Renderable Component: - Mesh: 149697411 - Material: 128805346 - IsActive: true - Scripts: ~ -- EID: 196800 - Name: Colliders - IsActive: true - NumberOfChildren: 1 - Components: ~ - Scripts: ~ -- EID: 262337 - Name: Floor_Collider - IsActive: true - NumberOfChildren: 0 - Components: - Transform Component: - Translate: {x: 0, y: 0, z: 0} + Translate: {x: -1.74568772, y: 0, z: -5.35919619} Rotate: {x: -0, y: 0, z: -0} Scale: {x: 1, y: 1, z: 1} IsActive: true @@ -2856,11 +4250,676 @@ - Is Trigger: false Collision Tag: 1 Type: Box - Half Extents: {x: 25, y: 0.5, z: 20} + Half Extents: {x: 20, y: 0.100000001, z: 20} Friction: 0.400000006 Bounciness: 0 Density: 1 Position Offset: {x: 0, y: 0, z: 0} Rotation Offset: {x: 0, y: 0, z: 0} IsActive: true - Scripts: ~ \ No newline at end of file + Scripts: ~ +- EID: 198 + Name: ====Raccoon==== + IsActive: true + NumberOfChildren: 2 + Components: ~ + Scripts: ~ +- EID: 197 + Name: Player + IsActive: true + NumberOfChildren: 3 + Components: + Transform Component: + Translate: {x: -8, y: 1, z: -4} + Rotate: {x: 0, y: 0, z: 0} + Scale: {x: 0.999999881, y: 1, z: 0.999999881} + IsActive: true + Renderable Component: + Mesh: 149697411 + Material: 126974645 + IsActive: true + RigidBody Component: + Type: Dynamic + Drag: 1 + Angular Drag: 0.100000001 + Use Gravity: false + Interpolate: true + Sleeping Enabled: true + Freeze Position X: false + Freeze Position Y: true + Freeze Position Z: false + Freeze Rotation X: true + Freeze Rotation Y: true + Freeze Rotation Z: true + IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.400000006, y: 0.5, z: 0.300000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.25, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true + Scripts: + - Type: PlayerController + Enabled: true + respawnPoint: 239 + currentState: 0 + maxMoveVel: 3 + moveForce: 50 + sprintMultiplier: 1.5 + rotationFactorPerFrame: 5 + maxJumpHeight: 2 + maxJumpTime: 0.75 + fallMultipler: 3 + lightMultiper: 0.75 + mediumMultiper: 0.5 + heavyMultiper: 0.25 + - Type: PickAndThrow + Enabled: true + throwForce: [8, 10, 8] + cameraArmOffSet: [0, 0.25, 0] + delayTimer: 1 + aimingLength: 0.5 + throwItem: false + rayDistance: 0.5 +- EID: 196 + Name: HoldingPoint + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 0, y: 0.899999976, z: 0.200000286} + Rotate: {x: 0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Scripts: ~ +- EID: 195 + Name: PlayerCamera + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 0, y: -2.98023224e-08, z: 4.76837158e-07} + Rotate: {x: 0, y: 6.28318548, z: 2.23517329e-08} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Camera Component: + Position: {x: 2.12735963, y: 0.362327784, z: 7.98933029} + Pitch: 0 + Yaw: 360 + Roll: 1.28065994e-06 + Width: 1920 + Height: 1080 + Near: 0.00999999978 + Far: 10000 + Perspective: true + IsActive: true + Camera Arm Component: + Arm Pitch: 0 + Arm Yaw: 0 + Arm Length: 1 + Look At Camera Origin: true + Target Offset: {x: 0, y: 0, z: 0} + Camera Collision: true + IsActive: true + Scripts: + - Type: SHADE_Scripting.ThirdPersonCamera + Enabled: true + armLength: 1 + turnSpeedPitch: 0.300000012 + turnSpeedYaw: 0.5 + pitchClamp: 45 + inverseXControls: true + inverseYControls: true +- EID: 194 + Name: PlayerBag + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 0, y: -2.98023224e-08, z: 4.76837158e-07} + Rotate: {x: 0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Renderable Component: + Mesh: 144838771 + Material: 123745521 + IsActive: true + Scripts: ~ +- EID: 239 + Name: RespawnPoint + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: -8, y: 1, z: -4} + Rotate: {x: 0, y: 0, z: 0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Scripts: ~ +- EID: 199 + Name: =====Text==== + IsActive: true + NumberOfChildren: 3 + Components: ~ + Scripts: ~ +- EID: 237 + Name: Score + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: -800, y: 400, z: 0} + Rotate: {x: 0, y: 0, z: 0} + Scale: {x: 60, y: 60, z: 60} + IsActive: true + Text Renderer Component: + Text: My name is Brandon. + Font: 176667660 + IsActive: true + Scripts: ~ +- EID: 206 + Name: Timer + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 500, y: 400, z: 0} + Rotate: {x: 0, y: 0, z: 0} + Scale: {x: 60, y: 60, z: 60} + IsActive: true + Text Renderer Component: + Text: My name is Brandon. + Font: 176667660 + IsActive: true + Scripts: ~ +- EID: 238 + Name: Multiplier + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: -800, y: 300, z: 0} + Rotate: {x: 0, y: 0, z: 0} + Scale: {x: 60, y: 60, z: 60} + IsActive: true + Text Renderer Component: + Text: TEST + Font: 176667660 + IsActive: true + Scripts: ~ +- EID: 236 + Name: ====GameManager==== + IsActive: true + NumberOfChildren: 0 + Components: ~ + Scripts: + - Type: GameManager + Enabled: true + winScene: 92009475 + loseScene: 91685359 + currGameState: 0 + totalItemCount: 0 + Score: 0 + timer: 200 + scoreText: 237 + timeText: 206 + multiplierText: 238 + maxMultiplierDuration: 10 + maxMultiplierCombo: 10 + multiplierFont: 60 +- EID: 235 + Name: ====AI===== + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 0.406909943, y: 0.100000001, z: -2} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Renderable Component: + Mesh: 140697366 + Material: 129495479 + IsActive: true + RigidBody Component: + Type: Dynamic + Drag: 0.00999999978 + Angular Drag: 0.00999999978 + Use Gravity: true + Interpolate: false + Sleeping Enabled: true + Freeze Position X: false + Freeze Position Y: false + Freeze Position Z: false + Freeze Rotation X: true + Freeze Rotation Y: false + Freeze Rotation Z: true + IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1.79999995, z: 0.400000006} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0.899999976, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true + Scripts: + - Type: Homeowner1 + Enabled: true + waypointsPool: 234 + patrolSpeed: 1 + chaseSpeed: 2 + turningSpeed: 5 + sightDistance: 8 + eyeOffset: [0, 1.64999998, 0] + distanceToCapture: 0.5 + captureTime: 0.5 + footstepSFXIntervalMultiplier: 0.5 +- EID: 234 + Name: ====WaypointPool==== + IsActive: true + NumberOfChildren: 4 + Components: ~ + Scripts: ~ +- EID: 233 + Name: 1 + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 2.5083437, y: 0, z: -2} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Scripts: ~ +- EID: 232 + Name: 2 + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: -0.498704284, y: 0, z: -1.87148261} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Scripts: ~ +- EID: 231 + Name: 3 + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: -0.553169727, y: 0, z: -4.5173068} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Scripts: ~ +- EID: 230 + Name: 4 + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 1.59207726, y: 0, z: -4.0830121} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Scripts: ~ +- EID: 240 + Name: ====ItemPool==== + IsActive: true + NumberOfChildren: 3 + Components: ~ + Scripts: ~ +- EID: 241 + Name: Mesh_Meat + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 3.71994686, y: 1.14058578, z: -9.35119247} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Renderable Component: + Mesh: 136892700 + Material: 131956078 + IsActive: true + RigidBody Component: + Type: Dynamic + Drag: 0.00999999978 + Angular Drag: 0.00999999978 + Use Gravity: true + Interpolate: true + Sleeping Enabled: true + Freeze Position X: false + Freeze Position Y: false + Freeze Position Z: false + Freeze Rotation X: false + Freeze Rotation Y: false + Freeze Rotation Z: false + IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.300000012, y: 0.300000012, z: 0.300000012} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true + Scripts: + - Type: Item + Enabled: true + Score: 50 + currCategory: 1 + density: 1 + dontReturn: false +- EID: 227 + Name: Mesh_Cheese + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 3.22328258, y: 1.08429813, z: -0.57395637} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Renderable Component: + Mesh: 141841143 + Material: 131956078 + IsActive: true + RigidBody Component: + Type: Dynamic + Drag: 0.00999999978 + Angular Drag: 0.00999999978 + Use Gravity: true + Interpolate: true + Sleeping Enabled: true + Freeze Position X: false + Freeze Position Y: false + Freeze Position Z: false + Freeze Rotation X: false + Freeze Rotation Y: false + Freeze Rotation Z: false + IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.5, y: 0.150000006, z: 0.5} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true + Scripts: + - Type: Item + Enabled: true + Score: 500 + currCategory: 2 + density: 1 + dontReturn: false +- EID: 65778 + Name: Mesh_Apple + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: -2.5, y: 0.778462529, z: -5} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + Renderable Component: + Mesh: 144128170 + Material: 131956078 + IsActive: true + RigidBody Component: + Type: Dynamic + Drag: 0.00999999978 + Angular Drag: 0.00999999978 + Use Gravity: true + Interpolate: true + Sleeping Enabled: true + Freeze Position X: false + Freeze Position Y: false + Freeze Position Z: false + Freeze Rotation X: false + Freeze Rotation Y: false + Freeze Rotation Z: false + IsActive: true + Collider Component: + Colliders: + - Is Trigger: false + Collision Tag: 1 + Type: Box + Half Extents: {x: 0.200000003, y: 0.200000003, z: 0.200000003} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true + Scripts: + - Type: Item + Enabled: true + Score: 10 + currCategory: 0 + density: 1 + dontReturn: false +- EID: 229 + Name: ====ScoreZonePool==== + IsActive: true + NumberOfChildren: 5 + Components: ~ + Scripts: ~ +- EID: 228 + Name: ScoreZone + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: -7.47360849, y: 1.4327563, z: -2.44241929} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + RigidBody Component: + Type: Static + Drag: 0.00999999978 + Angular Drag: 0.00999999978 + Use Gravity: true + Interpolate: true + Sleeping Enabled: true + Freeze Position X: false + Freeze Position Y: false + Freeze Position Z: false + Freeze Rotation X: false + Freeze Rotation Y: false + Freeze Rotation Z: false + IsActive: true + Collider Component: + Colliders: + - Is Trigger: true + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.79999995, y: 1, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true + Scripts: + - Type: ScoringZone + Enabled: true +- EID: 225 + Name: ScoreZone + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 1.97487497, y: 1.3500793, z: -10.195508} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + RigidBody Component: + Type: Static + Drag: 0.00999999978 + Angular Drag: 0.00999999978 + Use Gravity: true + Interpolate: true + Sleeping Enabled: true + Freeze Position X: false + Freeze Position Y: false + Freeze Position Z: false + Freeze Rotation X: false + Freeze Rotation Y: false + Freeze Rotation Z: false + IsActive: true + Collider Component: + Colliders: + - Is Trigger: true + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1, z: 0.200000003} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true + Scripts: + - Type: ScoringZone + Enabled: true +- EID: 224 + Name: ScoreZone + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: -5.47656059, y: 1.4327563, z: -2.44241929} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + RigidBody Component: + Type: Static + Drag: 0.00999999978 + Angular Drag: 0.00999999978 + Use Gravity: true + Interpolate: true + Sleeping Enabled: true + Freeze Position X: false + Freeze Position Y: false + Freeze Position Z: false + Freeze Rotation X: false + Freeze Rotation Y: false + Freeze Rotation Z: false + IsActive: true + Collider Component: + Colliders: + - Is Trigger: true + Collision Tag: 1 + Type: Box + Half Extents: {x: 1.79999995, y: 1, z: 1} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true + Scripts: + - Type: ScoringZone + Enabled: true +- EID: 223 + Name: ScoreZone + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 6.09239721, y: 1.4327563, z: -6.03106117} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + RigidBody Component: + Type: Static + Drag: 0.00999999978 + Angular Drag: 0.00999999978 + Use Gravity: true + Interpolate: true + Sleeping Enabled: true + Freeze Position X: false + Freeze Position Y: false + Freeze Position Z: false + Freeze Rotation X: false + Freeze Rotation Y: false + Freeze Rotation Z: false + IsActive: true + Collider Component: + Colliders: + - Is Trigger: true + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1, z: 1.79999995} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true + Scripts: + - Type: ScoringZone + Enabled: true +- EID: 222 + Name: ScoreZone + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: 6.09239721, y: 1.4327563, z: -3.94262314} + Rotate: {x: -0, y: 0, z: -0} + Scale: {x: 1, y: 1, z: 1} + IsActive: true + RigidBody Component: + Type: Static + Drag: 0.00999999978 + Angular Drag: 0.00999999978 + Use Gravity: true + Interpolate: true + Sleeping Enabled: true + Freeze Position X: false + Freeze Position Y: false + Freeze Position Z: false + Freeze Rotation X: false + Freeze Rotation Y: false + Freeze Rotation Z: false + IsActive: true + Collider Component: + Colliders: + - Is Trigger: true + Collision Tag: 1 + Type: Box + Half Extents: {x: 1, y: 1, z: 1.79999995} + Friction: 0.400000006 + Bounciness: 0 + Density: 1 + Position Offset: {x: 0, y: 0, z: 0} + Rotation Offset: {x: 0, y: 0, z: 0} + IsActive: true + Scripts: + - Type: ScoringZone + Enabled: true \ No newline at end of file diff --git a/Assets/Scenes/MainGame.shade b/Assets/Scenes/MainGame.shade index c55d16ca..b91e78b1 100644 --- a/Assets/Scenes/MainGame.shade +++ b/Assets/Scenes/MainGame.shade @@ -8937,6 +8937,7 @@ Enabled: true threshHold: 2 ignoreRaccoon: true + print: true - Type: Item Enabled: true Score: 100 @@ -9223,6 +9224,7 @@ Enabled: true threshHold: 1 ignoreRaccoon: true + print: false - Type: Item Enabled: true Score: 10 @@ -9493,10 +9495,14 @@ timer: 200 scoreText: 237 timeText: 206 + multiplierText: 139 + maxMultiplierDuration: 5 + maxMultiplierCombo: 10 + multiplierFont: 60 - EID: 199 Name: =====Text==== IsActive: true - NumberOfChildren: 2 + NumberOfChildren: 3 Components: ~ Scripts: ~ - EID: 237 @@ -9529,6 +9535,21 @@ Font: 176667660 IsActive: true Scripts: ~ +- EID: 139 + Name: Multiplier + IsActive: true + NumberOfChildren: 0 + Components: + Transform Component: + Translate: {x: -800, y: 300, z: 0} + Rotate: {x: 0, y: 0, z: 0} + Scale: {x: 60, y: 60, z: 60} + IsActive: true + Text Renderer Component: + Text: TEST + Font: 176667660 + IsActive: true + Scripts: ~ - EID: 198 Name: ====Raccoon==== IsActive: true @@ -9724,6 +9745,7 @@ Enabled: true threshHold: 0.100000001 ignoreRaccoon: false + print: false - EID: 196 Name: Piece1 IsActive: true @@ -9933,6 +9955,7 @@ Enabled: true threshHold: 0.100000001 ignoreRaccoon: false + print: false - EID: 65703 Name: Piece1 IsActive: true @@ -10142,6 +10165,7 @@ Enabled: true threshHold: 0.100000001 ignoreRaccoon: false + print: false - EID: 65708 Name: Piece1 IsActive: true diff --git a/Assets/Scripts/FixRotation.cs b/Assets/Scripts/FixRotation.cs new file mode 100644 index 00000000..37240741 --- /dev/null +++ b/Assets/Scripts/FixRotation.cs @@ -0,0 +1,19 @@ +using System; +using SHADE; + +public class FixRotation : Script +{ + Transform tran; + + protected override void awake() + { + tran = GetComponent(); + } + + protected override void update() + { + if(tran) + tran.LocalEulerAngles = Vector3.Zero; + } +} + diff --git a/Assets/Scripts/FixRotation.cs.shmeta b/Assets/Scripts/FixRotation.cs.shmeta new file mode 100644 index 00000000..abee49a0 --- /dev/null +++ b/Assets/Scripts/FixRotation.cs.shmeta @@ -0,0 +1,3 @@ +Name: FixRotation +ID: 162507316 +Type: 9 diff --git a/Assets/Scripts/Gameplay/Item/SC_Breakable.cs b/Assets/Scripts/Gameplay/Item/SC_Breakable.cs index 964a8b99..19f950a5 100644 --- a/Assets/Scripts/Gameplay/Item/SC_Breakable.cs +++ b/Assets/Scripts/Gameplay/Item/SC_Breakable.cs @@ -12,7 +12,7 @@ public class Breakable : Script private Transform trans; public bool isBreak { get; set; } private List itemPieces = new List(); - private Random ran = new Random(); + public bool print = false; protected override void awake() { @@ -44,7 +44,10 @@ public class Breakable : Script if (ignoreRaccoon && info.GameObject.GetScript()) return; - if (rb.LinearVelocity.GetSqrMagnitude() > threshHold) + if(print) + Debug.Log($"COLLIED {rb.LinearVelocity.GetSqrMagnitude()} with EiD: {info.GameObject.Name}"); + + if (rb.LinearVelocity.GetSqrMagnitude() > threshHold && !info.GameObject.GetScript()) { isBreak = true; if(GameObject.GetScript()) diff --git a/Assets/Scripts/Gameplay/Player/SC_PlayerController.cs b/Assets/Scripts/Gameplay/Player/SC_PlayerController.cs index 0122a30e..39835b59 100644 --- a/Assets/Scripts/Gameplay/Player/SC_PlayerController.cs +++ b/Assets/Scripts/Gameplay/Player/SC_PlayerController.cs @@ -371,7 +371,7 @@ public class PlayerController : Script stateMachine.SetState(typeof(PlayerIdleState)); tranform.LocalPosition = respawnPoint.GetComponent().LocalPosition; - if (pat && pat.item.GetScript()) + if (pat && pat.item) { holdItem = false; isAiming = false; diff --git a/Assets/Scripts/Gameplay/SC_GameManager.cs b/Assets/Scripts/Gameplay/SC_GameManager.cs index d6b43a9c..97565c41 100644 --- a/Assets/Scripts/Gameplay/SC_GameManager.cs +++ b/Assets/Scripts/Gameplay/SC_GameManager.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; public class GameManager : Script { public enum GameState - { + { START, WIN, LOSE @@ -26,6 +26,16 @@ public class GameManager : Script public GameObject scoreText; public GameObject timeText; + //mulitpler info + public GameObject multiplierText; + public float maxMultiplierDuration = 5.0f; + public float currMultiplierDuration { get; set; } + public int maxMultiplierCombo = 10; + public bool itemScored {get;set;} + public int currMultiplierCombo { get; set;} + public float multiplierFont = 60.0f; + private Vector3 fontScalar; + public static GameManager Instance { get; private set; } protected override void awake() @@ -40,12 +50,15 @@ public class GameManager : Script totalItemCount = 0; Score = 0; currGameState = GameState.START; + itemScored = false; + currMultiplierCombo = 1; + currMultiplierDuration = 0; + fontScalar = new Vector3(multiplierFont / maxMultiplierDuration, multiplierFont / maxMultiplierDuration , multiplierFont / maxMultiplierDuration); } protected override void update() { Cheats(); - if (currGameState == GameState.START) { timer -= Time.DeltaTimeF; @@ -54,6 +67,25 @@ public class GameManager : Script if(timeText) timeText.GetComponent().Text = $"Time Left: {timer.ToString("0.00")}"; + if (itemScored) + { + multiplierText.GetComponent().Text = $"X {currMultiplierCombo}"; + multiplierText.GetComponent().LocalScale -= fontScalar * Time.DeltaTimeF; + currMultiplierDuration += Time.DeltaTimeF; + + if (currMultiplierDuration >= maxMultiplierDuration) + { + itemScored = false; + currMultiplierCombo = 1; + currMultiplierDuration = 0; + } + + } + else + { + multiplierText.GetComponent().LocalScale = Vector3.Zero; + } + if ((timer > 0 && totalItemCount < 0) || Input.GetKeyDown(Input.KeyCode.F1)) { currGameState = GameState.WIN; @@ -85,5 +117,15 @@ public class GameManager : Script SceneManager.ChangeScene(97158628); } } + + public void ItemScored() + { + totalItemCount -= 1; + itemScored = true; + currMultiplierDuration = 0; + multiplierText.GetComponent().LocalScale = new Vector3(multiplierFont, multiplierFont, multiplierFont); + if (currMultiplierCombo < maxMultiplierCombo) + currMultiplierCombo += 1; + } } diff --git a/Assets/Scripts/Gameplay/SC_ScoringZone.cs b/Assets/Scripts/Gameplay/SC_ScoringZone.cs index 5a3aff64..7697c98f 100644 --- a/Assets/Scripts/Gameplay/SC_ScoringZone.cs +++ b/Assets/Scripts/Gameplay/SC_ScoringZone.cs @@ -12,8 +12,8 @@ public class ScoringZone : Script if (GameManager.Instance && info.GameObject.GetScript()) { Audio.PlaySFXOnce2D("event:/Music/stingers/item_scored"); - GameManager.Instance.Score += info.GameObject.GetScript().Score; - GameManager.Instance.totalItemCount -= 1; + GameManager.Instance.ItemScored(); + GameManager.Instance.Score += info.GameObject.GetScript().Score * GameManager.Instance.currMultiplierCombo; info.GameObject.SetActive(false); } }