Announcement

Collapse
No announcement yet.

DoN's 3D-Pathfinding / Flying-AI system (with full source!)

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

    Greetings! A big thank you for giving out your hard work for free to budding developers!

    I know essentially nothing about C++, compiling, editing files, etc (I work 100% in blueprint) and I was wondering if you could help me make a change to the source code.

    Essentially all I am after is a way to add a small delay in the "Fly To" node whenever the actor reaches the end of a straight line (so taking corners, changing direction, etc). I have my behaviour tree working as I'd like so far with a helicopter that rotates towards it's velocity direction, however the sudden changes in direction during pathfinding make the whole thing look haphazard.

    I've taken a look at the source files, but as I've said I know nothing about C++. I tried making some changes (to menu names only, nothing major) but then couldn't get UE4 to compile with my changes.

    Any help from anyone in this thread is much appreciated!

    Comment


      Originally posted by Inject4 View Post
      Greetings! A big thank you for giving out your hard work for free to budding developers!

      I know essentially nothing about C++, compiling, editing files, etc (I work 100% in blueprint) and I was wondering if you could help me make a change to the source code.

      Essentially all I am after is a way to add a small delay in the "Fly To" node whenever the actor reaches the end of a straight line (so taking corners, changing direction, etc). I have my behaviour tree working as I'd like so far with a helicopter that rotates towards it's velocity direction, however the sudden changes in direction during pathfinding make the whole thing look haphazard.

      I've taken a look at the source files, but as I've said I know nothing about C++. I tried making some changes (to menu names only, nothing major) but then couldn't get UE4 to compile with my changes.

      Any help from anyone in this thread is much appreciated!
      No need to look at the code, you can set your delay in BP. In your pawn, there must be a variable called "goal cooldown time". However it will make a pause only when the goal is reached.

      You can use "event on next segment" and do some calculation here, it is the event you are looking for, it fires on the end of straight lines.
      Facebook page : https://www.facebook.com/Otholithe-g...6187709110889/
      YT channel: https://www.youtube.com/channel/UCuS...IIFzVZZVmfniug
      Discord : https://discord.gg/sRaBU3

      Comment


        Someone ever managed to use the plugin with world composition? No matter where I place the nav volume, it crashes systematically once I press play.
        Facebook page : https://www.facebook.com/Otholithe-g...6187709110889/
        YT channel: https://www.youtube.com/channel/UCuS...IIFzVZZVmfniug
        Discord : https://discord.gg/sRaBU3

        Comment


          Hey! How soon will the plugin be available for version 4.23?

          Comment


            Someone knows anything about the upgrade for 4.23? It will be very important for me.

            Comment

            Working...
            X