From 175345523527fca2e2878ccea1e1be391c778986 Mon Sep 17 00:00:00 2001 From: Carson Katri Date: Sat, 12 Jun 2021 14:20:38 -0400 Subject: Add movement to limbs --- Assets/Scripts/Controllers/Ball.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assets/Scripts/Controllers/Ball.cs') diff --git a/Assets/Scripts/Controllers/Ball.cs b/Assets/Scripts/Controllers/Ball.cs index b63c928..b09b1be 100644 --- a/Assets/Scripts/Controllers/Ball.cs +++ b/Assets/Scripts/Controllers/Ball.cs @@ -18,7 +18,7 @@ namespace Controllers public void Shoot(Transform playerTransform) { - GetComponent().AddForce((Vector2)(playerTransform.forward + playerTransform.up) * shotForce); + GetComponent().AddForce((Vector2)(playerTransform.right + playerTransform.up) * shotForce); } } } -- cgit v1.2.3