Hello, to this moment I have created this guy : Demo AI - YouTube .
All he does is detecting player, running to him, and charging like a boar or something, and killing me if he runs through me.
I want to modify him that he could :
Fly to me, not shortest way possible, and kind of floating like a ghost.
While preparing to charge, also continue floating but already focused on me around some radius from character.
All of that will be really helpful, at least with some ideas and tutorials, if not solutions.
Thanks.
I am currently working with flying AI and I am doing something similar. In my case Im not using any navmesh at all and simply using the “Add Movement Input” node that comes from the Character class. Using that node you can specify a world direction for your character to move and the speed (among other things).
So if you want your enemy to fly towards the Player, simply get the Player’s location and use that to set the enemy’s direction. Ofc, if you want the enemy to “charge” and look for the Player within a radius, you will have to add that behavior separately.
I would recommend to start simple - make your enemy fly towards the Player first. Then, once thats working, look at adding a delay (“charge period”) and go from there.