Hello, I am trying to find a way to make an AI strafe/dodge without a behavior tree; I need the AI to be smart and literally dodge bullets. If I can have some blueprint help that would be great! Thanks! -CB
asked Jun 05 '18 at 01:20 AM in Blueprint Scripting
I never did any AI yet, but maybe I can help by asking clarifying questions.
Do you want the AI to dodge bullets coming at him from the player while still running toward the player, just strafing as he goes?
Unreal Tournament (every version) does this. They can even dodge rockets while trying to reach a powerup while trying to keep you where they can continue to shoot at you. You might be able to find out how it's done by studying the open source Unreal Tournament 4 project, though I'm not sure if they have AI implemented to the extent in that version as they do in the previous commercial versions.
answered Jun 07 '18 at 04:51 PM
You need to have an AIController that, by using AIPerception, or some other mechanism, detects the bullets and then triggers an AIMoveTo to a position on the left (or right) of the possessed pawn.
answered Jun 07 '18 at 05:24 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here