]> git.cameronkatri.com Git - gmtk-gamejam.git/blobdiff - Assets/Scripts/Controllers/Ball.cs
Refine AI decision-making
[gmtk-gamejam.git] / Assets / Scripts / Controllers / Ball.cs
index d9c85c2d885a980d1d477e1ad246f10dda2c1826..07e1b37f50fc99c3d5cd70de5cf023ab53826948 100644 (file)
@@ -22,7 +22,7 @@ namespace Controllers
 
     public void Shoot(Vector3 target)
     {
-      transform.right = (target - transform.position);
+      transform.right = target - transform.position;
       Rigidbody.velocity = Vector2.zero;
       Rigidbody.AddForce((transform.right + (transform.up * 0.5f)) * shotForce);
     }