- Home /
How to get an enemy to move in a swooping motion?,How to get enemies to move in a swooping motion
I am trying to have an enemy that starts off above the player and when the player gets within a certain range, it will head towards the player in a swooping motion (parabola of sorts). Is there any way for me to do this without the use of animations? My current plan is to create an equation using both the coordinates of the enemy and the player and somehow have the enemy follow that line. If anyone has a solution to this, it would be greatly appreciated, thank you!,Hi, I want to make an enemy that starts off above the player, but when it senses that the player is too close to it, it will start a swooping motion (parabola of sorts), trying to hit the player. I am wondering if there's a way to do this without the use of animations, thanks for your help!