diff --git a/Assets/Scripts/GamePlayer.cs b/Assets/Scripts/GamePlayer.cs index 773b358..e420988 100644 --- a/Assets/Scripts/GamePlayer.cs +++ b/Assets/Scripts/GamePlayer.cs @@ -259,6 +259,7 @@ public class GamePlayer : MonoBehaviour if (dir.magnitude < 3f) { berry.GetComponent().linearVelocity = dir.normalized * 5f; + ClampPosition(berry); } } }