GUN NO ROTATE :(
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user