mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
Reworked Jumping slightly
Added Coyote Jump Fixed Wallrun Again Fixed Glider
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user