From b6ebe86979fd2cd82ae73583dfcebde8d1625e2b Mon Sep 17 00:00:00 2001 From: Benjamin Kraft Date: Mon, 17 Apr 2023 08:25:32 +0200 Subject: [PATCH] comment --- Assets/Scripts/Game/AIPlayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Game/AIPlayer.cs b/Assets/Scripts/Game/AIPlayer.cs index b4a7baf..9294db0 100644 --- a/Assets/Scripts/Game/AIPlayer.cs +++ b/Assets/Scripts/Game/AIPlayer.cs @@ -46,7 +46,7 @@ namespace Game { return ballVy * transform.up.y < 0; } - // Not manhattan, only Y direction + // Not euclid, but only y distance private float YDistanceToBall(Ball ball) { return Mathf.Abs(ball.Rb.position.y - Y); }