Fixed Jumping issues

Jumping Feels smooth again
This commit is contained in:
Melbyj1125
2021-10-18 12:58:01 -05:00
parent 5d3bed5800
commit cc99ababff

View File

@@ -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();