From 6b2fe4738d09a517bc793bfdc434fcef43a07550 Mon Sep 17 00:00:00 2001 From: MaximilienBB Date: Fri, 30 May 2025 22:31:34 +0000 Subject: [PATCH] Actualiser Assets/Scripts/Projectile.cs --- Assets/Scripts/Projectile.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Projectile.cs b/Assets/Scripts/Projectile.cs index c87fae9..d03ae9c 100644 --- a/Assets/Scripts/Projectile.cs +++ b/Assets/Scripts/Projectile.cs @@ -76,7 +76,7 @@ public class Projectile : MonoBehaviour } float x = _speedTime; - float y = (_angle*-Mathf.Pow(x, 2) + _destinationX * x) + float y = (_angle*-Mathf.Pow(x, 2) + _destinationX * x); transform.position = new Vector2(_initialX + x*_angle, _initialY + y);