mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-23 10:54:24 -05:00
Fixed Jumping issues
Jumping Feels smooth again
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user