This commit is contained in:
cemt1363
2026-06-06 18:37:23 +02:00
+1 -7
View File
@@ -62,13 +62,7 @@ public class DropletMovement : MonoBehaviour
} }
//Jump animation //Jump animation
if (rb.linearVelocityY > 1)
{
animator.SetBool("Jumping", true);
} else
{
animator.SetBool("Jumping", false);
}
if (rb.linearVelocityY < -0.5 && !isGrounded) if (rb.linearVelocityY < -0.5 && !isGrounded)
{ {
animator.SetBool("Falling", true); animator.SetBool("Falling", true);