bunch of anim stuff

This commit is contained in:
Malak
2026-06-06 16:41:31 +02:00
parent 025981e503
commit c985d5a354
23 changed files with 725 additions and 447 deletions
+7
View File
@@ -55,6 +55,13 @@ public class DropletMovement : MonoBehaviour
{
rb.linearVelocity = new Vector2(rb.linearVelocity.x, jumpingPower);
}
if (rb.linearVelocityY > 2)
{
animator.SetBool("Jumping", true);
} else if (rb.linearVelocityY < 2)
{
animator.SetBool("Jumping", false);
}
if (movement.x > 0) {
animator.SetBool("WalkingRight", true);
animator.SetBool("WalkingLeft", false);