How to Make a Pet Companion AI in Unreal Engine 5

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024
  • Hello guys, in this quick and simple tutorial we are going to learn how to make a simple animal AI in Unreal Engine 5.
    ↪️Join my Discord Server, NOW: bit.ly/GorkaGa...
    Free Animal Asset Pack 🔥 www.unrealengi...
    Simple Enemy AI Tutorial: • The Easiest Way to Mak...
    Simple Blendspace Tutorial: • How to Make a Simple B...
    Check out my Steam Game! bit.ly/3rVlXU1
    Follow me on Twitter: / gorkagames
    Follow me on Instagram: bit.ly/Instagr...
    Subscribe to the channel: / @gorkagames
    unreal engine 5,ue5,pet ai,tutorial,quixel,megascans,unreal engine pet ai,companion artificial intelligence unreal engine 5,ue5 companion ai,ue5 ai pet tutorial,ue5 how to make a pet ai,unreal engine 5 simple companion ai,unreal engine 5 easy pet companion ai,unreal engine 5 ai follow player

Комментарии • 112

  • @harshadpotdar1259
    @harshadpotdar1259 Год назад +19

    One of the best yt channel i have ever seen . Always making new videos and providing us new and fresh content . Hats off mann . Hey why dont you make a fps multiplayer series i am sure people would love it

    • @GorkaGames
      @GorkaGames  Год назад +3

      Thank you so much!! I really appreciate it. As I have just done a full Third Person Shooter masterclass, I will wait a bit.. but yeah absolutely!

    • @keizerderood6873
      @keizerderood6873 Год назад

      ​@@GorkaGames hi ineed your help

    • @keizerderood6873
      @keizerderood6873 Год назад +1

      ​@@GorkaGames I want to know how to make the capsule component smaller

    • @monster6236
      @monster6236 Год назад

      If you never figured it out you select the capsule component and in the details panel you can either change the scale for size or shape with capsule radius and half height@@keizerderood6873

  • @benjones5799
    @benjones5799 Год назад +10

    love how you just breeze through at max speed without 5 hours of rambling in between, understanding that people can pause and go back if they missed something. Great channel, sub from me.

  • @edudias2
    @edudias2 Год назад +9

    Nice!! If you press Shift + F 11 you can change unreal window in full screen mode

    • @christoff124
      @christoff124 2 месяца назад

      he is using blueprints. you expect too much from him.

  • @lineage254
    @lineage254 Год назад +3

    My dude you keep hitting them out of the park great tutorial as always, so easy and complete.

  • @quizzypham3389
    @quizzypham3389 Год назад +4

    awww this is so cute, I've always wanted to add this

  • @qwertyok1142
    @qwertyok1142 Год назад +2

    Your tutorials help me so much! Thank You so much !

  • @natediaz1155
    @natediaz1155 Год назад +3

    One of the goatest teachers for ue

  • @chaoticflayo
    @chaoticflayo Год назад +5

    WOW No way! Dude you've been adding some banger tutorials lately! So many I need to come back for. Especially this one. Glad I subscribed lol

  • @lilinezu8368
    @lilinezu8368 11 месяцев назад

    idk why but it actually worked, amazing!!

  • @sriman1
    @sriman1 Год назад +2

    thank you very much i was learning very much from you

  • @JawadAnzour
    @JawadAnzour Год назад +2

    Bro you are the greatest Game dev ❤

  • @nexustech8669
    @nexustech8669 Год назад

    Killing it bro, great tutorial.. Keep them coming!!!

  • @studiobaxter1242
    @studiobaxter1242 Год назад +2

    Thanks!

  • @dalencon
    @dalencon Год назад

    thanks man! fast and objective! cheers!

  • @endtasid
    @endtasid Год назад

    very cute, I've added a fox to my tropical island
    thanks.

  • @oscoorpgames
    @oscoorpgames Год назад +1

    Bro You are doing great 👍

  • @JamalBakari
    @JamalBakari Год назад +2

    Well crafted.

  • @studiobaxter1242
    @studiobaxter1242 Год назад +6

    Cool, this was actually going to be the next part of my game.
    I discovered that my animal would lose sight of me after a big jump or if my player character was launched.
    The solution is simply connect the 'on fail' execution pin back to the input of the 'follow player' event when it is called after event begin play. Now my little wolf friend follows me everywhere.

    • @VinoVenitas
      @VinoVenitas Год назад +3

      Thank you, this was driving me crazy

    • @adamsnell2088
      @adamsnell2088 3 месяца назад +1

      Thanks for this!

  • @julia_rodrigo
    @julia_rodrigo Год назад

    freakin cute ima make that when i get my new computer!

  • @zackerr666
    @zackerr666 Год назад +2

    It's amazing!!! Have you planned to make one where the companion attacks with a button? 😁

  • @notlocal6925
    @notlocal6925 5 дней назад +1

    how to make it so that when I approach an npc I press E so that he follows me and when I press it again he stops following in UE4 ????

  • @Madhankumarps
    @Madhankumarps 19 дней назад

    Amazing, you rock, learning a lot from you. Thanks a lot. While learning from the tutorial i had a doubt.
    If a player goes out of nav mesh area and if he come back again to nav mesh area pet doesn't follow, is there a way to make the pet follow back when player enter the zone. If possible, make a tutorial or let me know what should i do to make it possible. Thanka lot for your hard work. Thanks again

  • @Mirakuruuu
    @Mirakuruuu Год назад +2

    Will you be making Custom Character in the RPG series anytime soon? I need to get to this point 😅

  • @Phoenix4_Trade
    @Phoenix4_Trade Год назад +6

    add this in rbg game but make this animal big wolf i think will be good ❤

    • @GorkaGames
      @GorkaGames  Год назад +1

      haha that would be great!!

  • @lemapp
    @lemapp 11 месяцев назад +1

    My pet followed until I add the animations. So the navigation mesh is there and operating. The pet is visibly animated, but doesn't move to follow the character.

  • @BangmanProductions
    @BangmanProductions Год назад

    Excellent Tutorial :)

  • @rakib_n333
    @rakib_n333 5 месяцев назад +1

    Where i get the animations?
    Did you create that in blender.
    How to rig for unreal engine?
    Please help me

  • @xirtus
    @xirtus 6 месяцев назад

    How about a way to play as your pet companion? It would be nice to have a trick for playing as your companion characters know general.

    • @nathanake000
      @nathanake000 3 месяца назад

      just switch the mesh in your thirdperson_bp with the animal mesh and select the animal's animbp, but it should have more animations like jumping.

  • @VinoVenitas
    @VinoVenitas Год назад

    this was useful thank you

  • @RedShark493
    @RedShark493 Год назад +1

    Cant get this work on play as client mode ? It works fine in play standalone only for me. Any idea ? Thanks.

  • @Madhankumarps
    @Madhankumarps 19 дней назад

    Is there a way to use pet in open world without nav mesh. If we are creating an open world game. Thanks.

  • @kmtsvetanov
    @kmtsvetanov 2 месяца назад

    What if you close the door? How will you get the fail and teleport to player?

  • @back2the90s8
    @back2the90s8 11 месяцев назад +2

    I don't know what I am doing wrong, but my fox won't move. I added the NavmeshBoundsVolume, created the blendspace, added it to my anim bp, but the fox just stands there in idle anim.

    • @back2the90s8
      @back2the90s8 11 месяцев назад +2

      i found the problem. The Fox could not see me at begin play, so the event didn't get called. I did it like @studiobaxter1242
      said and added the on fail back to begin play/followplayer and now everything works

    • @timbersawneo1631
      @timbersawneo1631 7 месяцев назад

      @@back2the90s8 hey guy,thanks very much!

  • @BurakSaruhan
    @BurakSaruhan Год назад +1

    Great one!

  • @Ba8sbaNybRMAcXCNdKnLTA
    @Ba8sbaNybRMAcXCNdKnLTA 7 месяцев назад

    THank you! How would it be possible to have it on the side of the player, instead of running behind it?

  • @michaelesquivel466
    @michaelesquivel466 5 месяцев назад

    why does the fox keep stopping? it doesn't move at a constant rate.

  • @samyidir909
    @samyidir909 Год назад +2

    I hope to make it attack animés ♥️

  • @knightofbrokenglass9237
    @knightofbrokenglass9237 Год назад

    thank you so much!!!!!

  • @RidhmanSinghbusiness
    @RidhmanSinghbusiness 8 месяцев назад

    Can you make it so it can attack and also you can make it follow and disband

  • @suppertoadproductions
    @suppertoadproductions 6 месяцев назад

    im having a issue! once the animation finishes it sets him back to his original postiton and its bad what do I do

  • @IamNeighborlee
    @IamNeighborlee Год назад

    When the pet follows, he gets pretty close and then abruptly backs off and that loops how do I stop that abrupt gets too close and backs off it’s jerky

  • @davidbernal3733
    @davidbernal3733 Год назад +1

    is there something different in 5.2? my blueprint is exactly the same as yours but my fox does not move when i follow. im at the step of adding the bound and i press P and see where it highlights green. but the fox does not move at all when i hit play.

    • @wolf_li
      @wolf_li Год назад

      No idea about 5.2 but I'm on 5.1 & I thought I was losing my mind. Literally every change is exactly the same as his and the fox doesn't follow my player. 😑

    • @davidbernal3733
      @davidbernal3733 Год назад +1

      @@wolf_li check your player start distance. It worked for me if i placed bpplayerstart right next to the follower

  • @yanpolly7052
    @yanpolly7052 11 месяцев назад

    Love your tutorials! I'm running into a problem where my pet works fine in the editor but would walks off the map in builds. Couldn't find anything that solved this issue. Does anyone know what's causing it and how to resolve it?

  • @TolisPiperas82
    @TolisPiperas82 Год назад

    Will you teach us how to help us in battles in the rpg series?

  • @kartiksaini981
    @kartiksaini981 Год назад

    Can i use pawn sensing component for the pet AI ?

  • @flyingroads3498
    @flyingroads3498 Год назад

    Hello how to set... velocity to start slow then increase to 100 after that start decrease almost reaching the player? like velocity smooth.

  • @valerianmonye402
    @valerianmonye402 Год назад

    Please I'm new to Unreal Engine. Which of your videos can I use to learn the controls?

  • @oscoorpgames
    @oscoorpgames Год назад

    Bro last month free for the month Niagara pack video . when it come . i am waiting for this

  • @antclaDev
    @antclaDev Год назад

    do you kown how to make a die jumpscare can you pls show?

  • @nickolaygr3371
    @nickolaygr3371 8 месяцев назад

    what to do if there are hills? pet goes underground

  • @juleswombat5309
    @juleswombat5309 Год назад

    Nice. The awkward part however is to create those Animal Animations. No Mixamo for animals :(

  • @MickaelSchaack
    @MickaelSchaack Год назад +1

    so nice

  • @Torchlight_Studios
    @Torchlight_Studios Год назад

    Very easy to follow and implement. Another amazing tutorial! How would you go about doing a pet like in destiny where it disappears and and appears based on different factors?

    • @kenalpha3
      @kenalpha3 Год назад +1

      You would need to add AI logic (in the BP or using AI blackboard / "Behavior Tree" - he has a video about that [ watch?v=QJuaB2V79mU ]).
      E.g. if AI is X distance from Player, then AI do Y. Or if Player is hurt, AI run close and heal Player.

  • @foxxxtheworst
    @foxxxtheworst Год назад

    Anyone knows how to add a little delay in the companion response in starting "follow the player"?

  • @AbishekLikePro
    @AbishekLikePro Год назад

    Need one help to dump items id from Unreal Engine 4 Games
    I have obb unpacked files
    Please reply possible or not and make tutorial

  • @chromizedFN
    @chromizedFN Год назад +1

    help me pls i can't see actors in viewport

    • @davidbernal3733
      @davidbernal3733 Год назад

      check in the outline if they are grayed out. if they are right click and set to pin

  • @topgymrat
    @topgymrat Год назад +1

    I'm running UE5.2 and AIMoveTo with target as character/pawn does not work, but using the actor location does. The actor location won't work if the player jumps.

    • @kenalpha3
      @kenalpha3 Год назад +1

      1) Did you remember to add a NAV mesh to the level? Press P in Editor to see if the floor/area is green. If no green then your Nav mesh needs to be scaled bigger.
      2) If jump isnt working, you may need a Smart Nav Link / NavLinkProxy. [watch?v=nXoG10cHUWg]
      [Nav links are very buggy for me in UE4.27, idk if they made them better in UE5.2. But we shouldnt need to place points in the level at all - because what if the level was procedurally generated = we cannot place Links manually.
      3) Thus we would need a Smart AI that has collision detection code and scans in 3D, then decides where to jump. Find me a tut on that ;) ]

    • @davidbernal3733
      @davidbernal3733 Год назад +1

      can you explain this in more detail? my fox isnt moving when i hit play. my blueprint is exactly the same as the video. which part do i need to change?

    • @kenalpha3
      @kenalpha3 Год назад

      Did you do step 1? Press P (in level view), and tell me if you see green on the floor.
      If yes, then Nav mesh should be correct.
      If no, you need to increase the scale of Nav mesh.
      "but using the actor location does."
      Timestamp me where you refer to. (I dont have UE5.2, but I may be able to see what you mean.)
      Also tell me, did you use a Project template like ThirdPerson template or make your own?

    • @davidbernal3733
      @davidbernal3733 Год назад +1

      @@kenalpha3 It ended up working after restarting UE

    • @kenalpha3
      @kenalpha3 Год назад

      @@davidbernal3733 good :). Remember to make backups of important files after you get it working - and before you make a new change.
      I click an asset. Press Control + W (duplicate). Rename this new file with _backup1.
      Then go back to the original copy, rename it v2.
      (It's easier to rename the original and increase version number - so that all your links update with the new name automatically - instead of switching to use the new copy.)

  • @begolu9907
    @begolu9907 Год назад

    Hello sir, i have a request, can u make tutorial for recruitment Companion ai with event or quest, like watchdog legion. I hope u make it, i like ur tutorial n thank you.

  • @epikUnreal
    @epikUnreal Год назад

    word for word

  • @rifat.ahammed
    @rifat.ahammed Год назад

    Great

  • @artiodainlard
    @artiodainlard 4 месяца назад

    not working for me, dont know why

  • @IamNeighborlee
    @IamNeighborlee Год назад

    Just wondering, using lion,all fine except on play, liion goes sideways, with animation. Looking into it,but atm am lost as to why. Ill update if I get it.

    • @IamNeighborlee
      @IamNeighborlee Год назад

      still need aid, nothing I do stops pet from moving perpendicular to me , at all times, did I miss a rotation or something ?

    • @IamNeighborlee
      @IamNeighborlee Год назад

      I got it, ODDLY , I must have accidentally rotated pet, as rotating it to look fwd, fixed it ;0-0- SO odd,anyway easy if embarrassing fix p-0-0

  • @dijik123
    @dijik123 Год назад +1

    Wass up broro

    • @GorkaGames
      @GorkaGames  Год назад

      heyyy how is it going my g!!!

    • @dijik123
      @dijik123 Год назад +1

      @@GorkaGames going good what Abt u

    • @GorkaGames
      @GorkaGames  Год назад

      @@dijik123 glad to hear, great great

  • @IndigoKidda
    @IndigoKidda Год назад

    wow

  • @Skyrim973
    @Skyrim973 3 месяца назад

    Interesante.

  • @mhamad3ntar26
    @mhamad3ntar26 8 месяцев назад

    Well i am the 1000k like😎

  • @eltwinscodm625
    @eltwinscodm625 Год назад

    Wow it's so amazing ❤
    Plz I have one problem
    I made my character jump higher
    When I jump higher the (fox) doesn't back to move to character again how to fix it with decrease the highest of jump 😂

    • @studiobaxter1242
      @studiobaxter1242 Год назад +1

      Connect the 'on fail' execution pin back to the input of the 'follow player' event when it is called after event begin play.

    • @eltwinscodm625
      @eltwinscodm625 Год назад +1

      @@studiobaxter1242 thank you
      It's work 🤝🤝🤝❤️❤️❤️❤️

  • @DellAgarpo
    @DellAgarpo Год назад

    Can you show us how you can make a ball actor, not pawn or character to roll itself to world location? at Event Begin Play and not triggered by any controller or keys. Thanks

  • @wolfexfox0
    @wolfexfox0 Год назад

    I mean, this tutorial is 🦊-y 🤣

  • @SKIROW
    @SKIROW Год назад +6

    Did you delete my comment?

    • @mk8_it
      @mk8_it 9 месяцев назад +2

      most likely so i followed a lot of his tuts and most dont work regardless i always have to go to the comment section to find a fix
      and find some of the comments are missing

    • @THELIONMAN7
      @THELIONMAN7 4 месяца назад

      Ye nobody likes you

  • @wildricknarcissot6031
    @wildricknarcissot6031 Год назад

    great tuto as always , for some reason the fox disturb my camera eventhough I set his collision to ignore the camera when he is behind me it disturbs the camera, very nice tuto as always though