Question by
unity_hJ8G4RKYVy5Osg · Sep 24, 2020 at 02:43 PM ·
2dgameshootingenemy damage
unity2D Enemy Shoot at a direction of choice.
Hey, I'm having a problem.
Im trying to make a enemy shoot at a fixed direction of my own choice ( left, right, top, down) Alot of forums keep adding aim at player. I dont want that.
I want the bullet to shot at a straight direction and destroy itself after colliding with anything. If hit player kill player.
Anyone have any idea how i can do this?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613012453im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can I have Unity display the correct tiles based on their surrounding tiles (ie corners) 2 Answers
Snake MOVEMENT (snake vs block) HELP!!! 0 Answers
Player Can walk through walls [2D] 1 Answer
No overload for method 'fireBullet' takes 0 arguments 1 Answer
2D game how to make my enemy can evade the laser of my player 0 Answers