fix: player now jumps normally

This commit is contained in:
KOSMOGOR
2025-04-24 14:02:23 +03:00
parent de6739cdfa
commit 851ee23092
3 changed files with 35 additions and 11 deletions
-3
View File
@@ -10,9 +10,6 @@ public class PlayerMovement : MonoBehaviour
[Header("Vertical movement")]
public float jumpForce = 1f;
public float gravityMultiplier = 1f;
public Transform legsPosition;
public float legsRadius = 0.5f;
public LayerMask groundMask;
[Header("Debug info")]
[SerializeField] bool isCrouching = false;