]> git.cameronkatri.com Git - gmtk-gamejam.git/blobdiff - Assets/Scripts/Controllers/Ball.cs
Add movement to limbs
[gmtk-gamejam.git] / Assets / Scripts / Controllers / Ball.cs
index b63c9282d1ea13b0cd8356442da247360d9dd653..b09b1be5452d4832f9c0d3186e721e97e8cc0370 100644 (file)
@@ -18,7 +18,7 @@ namespace Controllers
 
     public void Shoot(Transform playerTransform)
     {
-      GetComponent<Rigidbody2D>().AddForce((Vector2)(playerTransform.forward + playerTransform.up) * shotForce);
+      GetComponent<Rigidbody2D>().AddForce((Vector2)(playerTransform.right + playerTransform.up) * shotForce);
     }
   }
 }