Announcement

Collapse
No announcement yet.

Problem getting Flying AI to chase the player

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem getting Flying AI to chase the player

    I am a beginner with AI and I am really struggling to get my AI to chase the player. I'm using a modified version of the Flying example from Unreal to get my shark to move and that works fine. The problem I am having is when the player overlaps the "vision" of the shark instead of chasing the player the movement result is aborted. I could REALLY use some help. I've added all the scripts and the behavior tree.
    Attached Files

    #2
    I'm also stuck on this.
    Been trying to get a flying AI working & to move about and intercept and attack me for ages without any progress.
    There really isn't much out there for decent flying AI that isn't overly complex.
    https://www.artstation.com/alphawolf
    https://www.deviantart.com/alphawolf-uk/gallery
    https://www.youtube.com/user/AlphaWoIFuk/videos

    Comment


      #3
      Hi guys,

      I managed to get flying AI working so I'll try to help.
      [MENTION=464175]KaylaClancey[/MENTION], Im looking at your thread BP and it looks like you are telling the AI to move to world origin (0,0,0) and then abort. If you input the Player's location there, does the shark move?
      [WIP] Procedural City Generator | RPG AI
      [MARKETPLACE] Animal Behavior Kit | Space Shooter Template | Procedural Foliage Tool | Procedural Park
      [FREE] Modular Road Tool | Action Platformer Template | Radar BP | Free Birds | Procedural Buildings
      Join our Discord

      Comment


        #4
        Hey, I tried putting the players location but it still ignores the player and keeps flying by.

        Comment


          #5
          Originally posted by KaylaClancey View Post
          Hey, I tried putting the players location but it still ignores the player and keeps flying by.
          Originally posted by AlphaWolF View Post
          I'm also stuck on this.
          Been trying to get a flying AI working & to move about and intercept and attack me for ages without any progress.
          There really isn't much out there for decent flying AI that isn't overly complex.
          try using don's navigation plugin to make the flying character able to find the path to the player character etc.

          it is a free plugin you can install from the market place <3 this addon for flying navigation.
          normal navigation is on surfaces that have collision. since there is no collision in open space flying ai is very hard to make.
          his plugin makes it very simple. look into it.
          Last edited by frostic; 06-01-2017, 04:34 AM.
          Matt Walton: Programmer and owner of WireLiteSoft Games.

          [Streaming Terrains][WireLiteSoft.us]

          Comment

          Working...
          X