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/GorkaGamesUA-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

КОМЕНТАРІ • 101

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

  • @nexustech8669
    @nexustech8669 Рік тому

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

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

  • @qwertyok1142
    @qwertyok1142 Рік тому +2

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

  • @lilinezu8368
    @lilinezu8368 7 місяців тому

    idk why but it actually worked, amazing!!

  • @quizzypham3389
    @quizzypham3389 Рік тому +4

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

  • @studiobaxter1242
    @studiobaxter1242 Рік тому +5

    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

  • @BangmanProductions
    @BangmanProductions Рік тому

    Excellent Tutorial :)

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

  • @sriman1
    @sriman1 Рік тому +2

    thank you very much i was learning very much from you

  • @VinoVenitas
    @VinoVenitas 11 місяців тому

    this was useful thank you

  • @studiobaxter1242
    @studiobaxter1242 Рік тому +2

    Thanks!

  • @zackerr666
    @zackerr666 Рік тому +2

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

  • @JamalBakari
    @JamalBakari Рік тому +2

    Well crafted.

  • @oscoorpgames
    @oscoorpgames Рік тому +1

    Bro You are doing great 👍

  • @JawadAnzour
    @JawadAnzour Рік тому +2

    Bro you are the greatest Game dev ❤

  • @BurakSaruhan
    @BurakSaruhan Рік тому +1

    Great one!

  • @natediaz1155
    @natediaz1155 Рік тому +3

    One of the goatest teachers for ue

  • @knightofbrokenglass9237
    @knightofbrokenglass9237 Рік тому

    thank you so much!!!!!

  • @julia_rodrigo
    @julia_rodrigo 11 місяців тому

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

  • @endtasid
    @endtasid Рік тому

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

  • @Mirakuruuu
    @Mirakuruuu Рік тому +2

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

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

  • @MickaelSchaack
    @MickaelSchaack Рік тому +1

    so nice

  • @rifat.ahammed
    @rifat.ahammed Рік тому

    Great

  • @samyidir909
    @samyidir909 Рік тому +2

    I hope to make it attack animés ♥️

  • @TolisPiperas82
    @TolisPiperas82 Рік тому

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

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

  • @mmmmm1438
    @mmmmm1438 Рік тому +6

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

  • @valerianmonye402
    @valerianmonye402 Рік тому

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

  • @epikUnreal
    @epikUnreal 10 місяців тому

    word for word

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

  • @Ba8sbaNybRMAcXCNdKnLTA
    @Ba8sbaNybRMAcXCNdKnLTA 3 місяці тому

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

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

  • @kartiksaini981
    @kartiksaini981 Рік тому

    Can i use pawn sensing component for the pet AI ?

  • @RedShark493
    @RedShark493 Рік тому +1

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

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

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

  • @IndigoKidda
    @IndigoKidda Рік тому

    wow

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

  • @back2the90s8
    @back2the90s8 7 місяців тому +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 7 місяців тому +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 :(

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

  • @mhamad3ntar26
    @mhamad3ntar26 4 місяці тому

    Well i am the 1000k like😎

  • @simpletutorials132
    @simpletutorials132 Рік тому

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

  • @oscoorpgames
    @oscoorpgames Рік тому

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

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

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

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

  • @michaelesquivel466
    @michaelesquivel466 Місяць тому

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

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

  • @nickolaygr3371
    @nickolaygr3371 4 місяці тому

    what to do if there are hills? pet goes underground

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

  • @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 11 місяців тому +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 11 місяців тому +1

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

  • @artiodainlard
    @artiodainlard 19 днів тому

    not working for me, dont know why

  • @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 5 місяців тому

      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 21 день тому

      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