Reworked Jumping slightly

Added Coyote Jump
Fixed Wallrun Again
Fixed Glider
This commit is contained in:
Melbyj1125
2021-12-06 14:16:41 -06:00
parent 5a8b657e16
commit bd36986887
7 changed files with 126 additions and 62 deletions

View File

@@ -34,7 +34,7 @@ public class PlayerStats : MonoBehaviour
}
//Player Jump power
[SerializeField] private float jumpPow = 300.0f;
[SerializeField] private float jumpPow = 25.0f;
public float JumpPow{
get{ return jumpPow; }
set{ jumpPow = value; }
@@ -69,7 +69,7 @@ public class PlayerStats : MonoBehaviour
}
//Gravity Affecting the player
[SerializeField] private float playerGrav = 20.0f;
[SerializeField] private float playerGrav = 50.0f;
public float PlayerGrav{
get{ return playerGrav; }
set{ playerGrav = value; }