fixed Falling animation threshold

This commit is contained in:
go38coz
2026-06-06 19:38:41 +02:00
parent 45afbf22d6
commit 23648a0474
+1 -2
View File
@@ -38,7 +38,6 @@ public class DropletMovement : MonoBehaviour
TreeSpawner.treeCount = 0;
}
[System.Obsolete]
void Update()
{
if (isDashing || isDropping)
@@ -63,7 +62,7 @@ public class DropletMovement : MonoBehaviour
//Jump animation
if (rb.linearVelocityY < -0.5 && !isGrounded)
if (rb.linearVelocityY < -1f && !isGrounded)
{
animator.SetBool("Falling", true);
} else