I am working on a 2D 3D hybrid shooter game that has a flying AI enemy type. For the most part, this AI is working as intended except for 1 aspect, where the AI goes. The AI keeps flying towards the player’s feet instead of slightly above the head as expected. I’ve tried multiple things including, adding to the location vector for the AI to move to, and creating a new object that follows the player above its head for the AI to fly towards instead.
If anyone has any idea on how to solve this I would be so grateful! This AI is a paper character and uses a simple behaviour tree that chases the player then stops and shoots when at a certain distance.
The first screenshot is from the chasing the player task. The second one is from a new actor I made that was intended to be a point for the AI to go to that follows above the player. If you can help I will be so grateful!!
should the AI hold its Z coordinate? In this case you can split the location pin and only plug X and Y into your AIMoveTo. For Z you insert the starting Z coordinate from your AI.