GUN NO ROTATE :(

This commit is contained in:
Garrett Kaiser
2025-11-17 15:30:29 -08:00
parent 37acac8b64
commit a057798e3e
5 changed files with 31 additions and 7 deletions

View File

@@ -53,7 +53,7 @@ public class ThrowerEnemy : MonoBehaviour
playerDistance = Vector3.Distance(transform.position, target.position);
if (playerDistance < 25 && canThrow)
{
Instantiate(GunThrow, transform);
Instantiate(GunThrow, transform.position, Quaternion.identity);
canThrow = false;
}
}