How to Make a Pet Companion AI in Unreal Engine 5

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 พ.ค. 2023
  • 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/GorkaGamesTH-camDisco...
    Free Animal Asset Pack 🔥 www.unrealengine.com/marketpl...
    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/InstagramGorkaGames
    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

ความคิดเห็น • 102

  • @harshadpotdar1259
    @harshadpotdar1259 ปีที่แล้ว +17

    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 8 หลายเดือนก่อน

      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 ปีที่แล้ว +7

    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.

  • @lineage254
    @lineage254 ปีที่แล้ว +3

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

  • @dalencon
    @dalencon ปีที่แล้ว

    thanks man! fast and objective! cheers!

  • @edudias2
    @edudias2 ปีที่แล้ว +7

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

  • @nexustech8669
    @nexustech8669 ปีที่แล้ว

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

  • @lilinezu8368
    @lilinezu8368 8 หลายเดือนก่อน

    idk why but it actually worked, amazing!!

  • @qwertyok1142
    @qwertyok1142 ปีที่แล้ว +2

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

  • @BangmanProductions
    @BangmanProductions ปีที่แล้ว

    Excellent Tutorial :)

  • @studiobaxter1242
    @studiobaxter1242 ปีที่แล้ว +2

    Thanks!

  • @VinoVenitas
    @VinoVenitas 11 หลายเดือนก่อน

    this was useful thank you

  • @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 11 หลายเดือนก่อน +3

      Thank you, this was driving me crazy

    • @adamsnell2088
      @adamsnell2088 7 วันที่ผ่านมา +1

      Thanks for this!

  • @sriman1
    @sriman1 ปีที่แล้ว +2

    thank you very much i was learning very much from you

  • @quizzypham3389
    @quizzypham3389 ปีที่แล้ว +4

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

  • @JamalBakari
    @JamalBakari ปีที่แล้ว +2

    Well crafted.

  • @knightofbrokenglass9237
    @knightofbrokenglass9237 ปีที่แล้ว

    thank you so much!!!!!

  • @BurakSaruhan
    @BurakSaruhan ปีที่แล้ว +1

    Great one!

  • @JawadAnzour
    @JawadAnzour ปีที่แล้ว +2

    Bro you are the greatest Game dev ❤

    • @GorkaGames
      @GorkaGames  ปีที่แล้ว +2

      thank you so much!!

  • @natediaz1155
    @natediaz1155 ปีที่แล้ว +3

    One of the goatest teachers for ue

  • @zackerr666
    @zackerr666 ปีที่แล้ว +2

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

  • @julia_rodrigo
    @julia_rodrigo 11 หลายเดือนก่อน

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

  • @oscoorpgames
    @oscoorpgames ปีที่แล้ว +1

    Bro You are doing great 👍

    • @GorkaGames
      @GorkaGames  ปีที่แล้ว +1

      thank you so much man!!

  • @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

    • @GorkaGames
      @GorkaGames  ปีที่แล้ว +1

      Thank you so much man!!!

  • @endtasid
    @endtasid ปีที่แล้ว

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

  • @rifat.ahammed
    @rifat.ahammed ปีที่แล้ว

    Great

  • @MickaelSchaack
    @MickaelSchaack ปีที่แล้ว +1

    so nice

  • @mmmmm1438
    @mmmmm1438 ปีที่แล้ว +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!!

  • @samyidir909
    @samyidir909 ปีที่แล้ว +2

    I hope to make it attack animés ♥️

  • @Mirakuruuu
    @Mirakuruuu ปีที่แล้ว +2

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

  • @epikUnreal
    @epikUnreal 11 หลายเดือนก่อน

    word for word

  • @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.

  • @xirtus
    @xirtus 3 หลายเดือนก่อน

    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.

  • @TolisPiperas82
    @TolisPiperas82 ปีที่แล้ว

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

  • @lemapp
    @lemapp 7 หลายเดือนก่อน +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.

  • @kartiksaini981
    @kartiksaini981 ปีที่แล้ว

    Can i use pawn sensing component for the pet AI ?

  • @Ba8sbaNybRMAcXCNdKnLTA
    @Ba8sbaNybRMAcXCNdKnLTA 3 หลายเดือนก่อน

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

  • @suppertoadproductions
    @suppertoadproductions 2 หลายเดือนก่อน

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

  • @RidhmanSinghbusiness
    @RidhmanSinghbusiness 4 หลายเดือนก่อน

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

  • @rakib_n333
    @rakib_n333 หลายเดือนก่อน +1

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

  • @valerianmonye402
    @valerianmonye402 ปีที่แล้ว

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

  • @RedShark493
    @RedShark493 ปีที่แล้ว +1

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

  • @yanpolly7052
    @yanpolly7052 7 หลายเดือนก่อน

    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?

  • @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.

  • @IndigoKidda
    @IndigoKidda ปีที่แล้ว

    wow

  • @mhamad3ntar26
    @mhamad3ntar26 5 หลายเดือนก่อน

    Well i am the 1000k like😎

  • @back2the90s8
    @back2the90s8 8 หลายเดือนก่อน +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 8 หลายเดือนก่อน +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 3 หลายเดือนก่อน

      @@back2the90s8 hey guy,thanks very much!

  • @juleswombat5309
    @juleswombat5309 ปีที่แล้ว

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

  • @simpletutorials132
    @simpletutorials132 ปีที่แล้ว

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

  • @michaelesquivel466
    @michaelesquivel466 2 หลายเดือนก่อน

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

  • @foxxxtheworst
    @foxxxtheworst 11 หลายเดือนก่อน

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

  • @IamNeighborlee
    @IamNeighborlee 11 หลายเดือนก่อน

    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

  • @nickolaygr3371
    @nickolaygr3371 4 หลายเดือนก่อน

    what to do if there are hills? pet goes underground

  • @begolu9907
    @begolu9907 11 หลายเดือนก่อน

    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.

  • @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

  • @oscoorpgames
    @oscoorpgames ปีที่แล้ว

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

  • @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

  • @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.)

  • @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

  • @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

  • @artiodainlard
    @artiodainlard 27 วันที่ผ่านมา

    not working for me, dont know why

  • @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 11 หลายเดือนก่อน

    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 ปีที่แล้ว +4

    Did you delete my comment?

    • @mk8_it
      @mk8_it 6 หลายเดือนก่อน

      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 29 วันที่ผ่านมา

      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