From cc99ababff98e53a0bd87a62adac267829dd63d7 Mon Sep 17 00:00:00 2001 From: Melbyj1125 <60886701+Melbyj1125@users.noreply.github.com> Date: Mon, 18 Oct 2021 12:58:01 -0500 Subject: [PATCH] Fixed Jumping issues Jumping Feels smooth again --- Assets/Scripts/PlayerScripts/PlayerMovement.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Assets/Scripts/PlayerScripts/PlayerMovement.cs b/Assets/Scripts/PlayerScripts/PlayerMovement.cs index 6e33399..88c0c6c 100644 --- a/Assets/Scripts/PlayerScripts/PlayerMovement.cs +++ b/Assets/Scripts/PlayerScripts/PlayerMovement.cs @@ -96,8 +96,6 @@ public class PlayerMovement : MonoBehaviour // Update is called once per frame void FixedUpdate() { - //input controls for movement - InputController(); //Controls for camera Rotate(); @@ -118,9 +116,6 @@ public class PlayerMovement : MonoBehaviour else{ Debug.Log("MoveController is either Disabled or wasn't retrieved correctly"); } - - // consumes the impact energy each cycle: - impact = Vector3.Lerp(impact, Vector3.zero, 5 * Time.deltaTime); //Checks if player should respawn Respawn();