From a56feef57ad1ebff8fff6582afca1bc30e1d2214 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 27 Jul 2022 12:24:10 -0400 Subject: [PATCH] playtest with Nik --- .../Assets/BeatEmUp_GameTemplate3D/Resources/GameCamera.prefab | 2 +- .../BeatEmUp_GameTemplate3D/Scripts/Camera/CameraFollow.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unity_project/Assets/BeatEmUp_GameTemplate3D/Resources/GameCamera.prefab b/unity_project/Assets/BeatEmUp_GameTemplate3D/Resources/GameCamera.prefab index 1886a87..e5588cd 100644 --- a/unity_project/Assets/BeatEmUp_GameTemplate3D/Resources/GameCamera.prefab +++ b/unity_project/Assets/BeatEmUp_GameTemplate3D/Resources/GameCamera.prefab @@ -25,7 +25,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 171854} m_LocalRotation: {x: 0, y: 1, z: 0, w: 0} - m_LocalPosition: {x: 8.05, y: 1.52, z: 11.59} + m_LocalPosition: {x: 8.05, y: 7.29, z: 11.59} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 4914548019038378} diff --git a/unity_project/Assets/BeatEmUp_GameTemplate3D/Scripts/Camera/CameraFollow.cs b/unity_project/Assets/BeatEmUp_GameTemplate3D/Scripts/Camera/CameraFollow.cs index 3054502..004386f 100644 --- a/unity_project/Assets/BeatEmUp_GameTemplate3D/Scripts/Camera/CameraFollow.cs +++ b/unity_project/Assets/BeatEmUp_GameTemplate3D/Scripts/Camera/CameraFollow.cs @@ -65,7 +65,7 @@ public class CameraFollow : MonoBehaviour { currentX = Mathf.Lerp(currentX, MiddlePosition.x, DampX * Time.deltaTime); //DampY - currentY = Mathf.Lerp(currentY, 3.9f, DampY * Time.deltaTime); + currentY = Mathf.Lerp(7.29f, 7.29f, DampY * Time.deltaTime); //DampZ if (FollowZAxis) {