Worker barely working

This commit is contained in:
2025-12-04 14:38:32 +01:00
parent e60d516e7e
commit 1c64c67cf8
208 changed files with 19089 additions and 1240 deletions

View File

@@ -66,4 +66,12 @@ public class WorkerBeltApproachingBehaviour : AppleState
workerAnimator.SetBool("isLifting?", true);
workerBeltStateMAchineRef.ChangeState(2);
}
public void Update()
{
if (ApproachingSpline.GetDirection(aproachTween.Percentage).x > 0.1)
workerAnimator.SetBool("walkingRight?", true);
else
workerAnimator.SetBool("walkingRight?", false);
}
}