- Home /
how to create enemy AI helicopter/flying object in 2d game??
Hey everyone, I want to create a enemy AI helicopter in my 2D game and i don't know to create such flying object .... so any body help me please
This question is a bit too vague, what kind of game are you making (platformer/topdown) etc? Will there be buildings or mountains or some things that it needs to avoid, what do you already have for code? Give us more details.
Answer by Le-Capitaine · Jan 24, 2020 at 02:35 PM
You'll have to be a lot more specific. If they're meant to run into you or use projectiles, if they're physics-based, and so on. If they're meant to fly near you and throw projectiles, you can use a ray between your enemy and your player and have it move to the proper distance depending on the ray's length.
Your answer
Follow this Question
Related Questions
Simple controls for a helicopter 2 Answers
AI Helicopter type Movement 0 Answers
How to make a helicopter speed gauge? 0 Answers
Helicopter controls inverted 1 Answer
Helicopter flight 1 Answer