You know, you really do have the best UE4 tutorial videos on KZbin. Your videos are quick and brief, but dense and to the point. You always make things easy to understand. And I really appreciate how you actually take the time to plans each lesson. A lot of other tutorials feel like their improvising and make mistakes or get lost, but you go in fully prepared and have everything already set up. So, thanks (:
@solutionrevolution72214 жыл бұрын
I have been watching a lot of navigation and ai tutorials and this one is one of the best I have seen thank you.
@TeslaUE410 жыл бұрын
If you want the navmesh bounds to be green try pressing P
@marcthenarc86810 жыл бұрын
Thanks for the tip. And the tutorial. :-) Do you have a way to implement a callback when the AI has reached its destination ?
@SourceOfViews10 жыл бұрын
Marc St-Jacques Well I don't know if there is an easier version, but I would just save the location it should move to and permanently check if its current location is the same
@RobBradshawG10 жыл бұрын
another way to reach this is via "show" button top left of view port, then click "Navigation" from popup menu :)
@SourceOfViews10 жыл бұрын
***** I'm not sure what you want to do. Do you want him to go to one waypoint and then back to the first? Or do you want him to go around the one waypoint in a circle?
@MrJogibar9 жыл бұрын
Mr. Maniac Even if its been a while since you posted this, i would like to pick up the question again: How is it possible to let the AI randomly walk to target points in the game?
@selocanushopus2195 жыл бұрын
A great explanation to how to make a simple AI system. Thank you very much I liked the way you teach. :)
@AlexanderTurda10 жыл бұрын
Finally a simple AI tut that just works! Thanks a lot.
@nerohoop10 жыл бұрын
Thanks Tesla, really nice tutorial, easy and helpful
@TeslaUE410 жыл бұрын
No problem! Thanks for checking it out!
@sb-knight7 жыл бұрын
Thanks for the video, This really helps me understand actually how easy it is to do this so now im going to take this basic code and combine it with the other autonomous behaviour tree based nav system I have and hopefully it works. Thanks.
@OfficialHybridSystem10 жыл бұрын
Awesome tut man! Gives me even more ideas for my own AI in my game.
@codewalker664 жыл бұрын
Nicely done, clear and concise. Thank you!
@KnightOfNostalgia9 жыл бұрын
man. you always bring out really nice, simple tutorials that just save my ass :D
@sirvz10 жыл бұрын
If you can't find "Get Controller". Make sure to turn off "Content Sensitive" when you make a new blueprint. Its in the blueprint area when you right-click to make a new function.
@yuness2710 жыл бұрын
Can you please clarify how you turn off content sensitive because I didn't really understand.
@nitro525210 жыл бұрын
Fire-Gaming-Network: Yuness27 when you right click in the level blue print there is a check box for "Content Sensitive" in the menu
@MattShade6410 жыл бұрын
Very simple and concise - cheers for that :)
@Vyebrows8 жыл бұрын
Hi, at 6:10 you don't a a nav-link and yet the AI follows off the edge, this doesn't seem to be the case for the current version. I really desire this effect and the character movement can walk off edges doesnt seem to factor in.
@isjulyokExtras8 жыл бұрын
You're the hero none of us deserve thank you
@xX123Dorian123Xx10 жыл бұрын
It's like pro tutorial, great work mate :)
@isaacrymer6087 жыл бұрын
Very nice, and quite short as well, noice
@ForceGamerLIVE10 жыл бұрын
Excelent Tutorial! More IA please
@frankb47939 жыл бұрын
Thanks Tesla ......Just what I was looking for!
@Soldierguy979 жыл бұрын
I know this video is old but I would like to know how you got the AI to casually jump off the ledge. Was this just how Unreal was back then? Now you have to use NavLink proxies which has it's problems. When the AI is following the player if the player keeps moving it will stutter on top of the ledge until the player stops and the AI jumps down.
@ExcelJopa8 жыл бұрын
Very very good tutorial!! Thanks
@MattJSowards5 жыл бұрын
how can you make the ai NOT jump off and actually run off the stairs
@dineshcs10 жыл бұрын
Thanks Tesla nice tutorial. What should i do to move the character through different targetpoints by pressing only one key one repeatedly?
@AlexSMontgomery10 жыл бұрын
Simple and Nice tutorial!!
@chaddanylak870610 жыл бұрын
thank again for a another good video
@rctrickstipsfun65048 жыл бұрын
Hey Tesla, thanks for the great tutorial again :) I have a question, all this works great in a 3rd person format. But why it doesnt work in a first person format? do i have to make then my own Blueprint that contains movement logic? Or is there something easier from the animationstarterpack that works like you describe for the 3rd person?
@3dcircle10 жыл бұрын
That was lovely man. Thanks a lot.
@montraydavis10 жыл бұрын
In my blendspace, I have a variable setup named "Speed" to determine whether he is Idle,Walking,Running,Sprinting . How can I have the level blueprint drive the speed variable based on Simple Move To Location (does that make sense). Great video by the way ! Taught me some useful things !
@michaelferro876010 жыл бұрын
Thanks for this tutorial. Is there any chance you could make a tutorial showing the bot causing damage when contacting the player? Thanks
@gamezodia94659 жыл бұрын
I've seen most of your videos and i was wondering if you could do a tutorial of a Spawn System, i'm working on an Open world game and haven't found any tutorials on how to spawn NPCs randomly throughout the world
@roqaiaarrfou59255 жыл бұрын
Very helpful Thank you
@Releasedoor7628 жыл бұрын
wow 100k views congrats
@fluffygungan434410 жыл бұрын
Very helpful, thanks man!
@Mesciurius8 жыл бұрын
Thank you! really good tutorial :)
@radioactiveplanet382810 жыл бұрын
Thank you!! it was very helpful :D
@salehramezani509210 жыл бұрын
Great tutorial.thank you.
@Rajuuken9 жыл бұрын
Hello, Thanks for the very nice tuto. What if I want the AI to go to target 1 once it has reached target 1?
@yungmani18798 жыл бұрын
hey dude your stuff is awesome,i subbed and liked but can you make a video about enter and exit car animations like gta or how to set it up. please it really would be apreciated.
@lanceawatt10 жыл бұрын
thank you - this is very useful
@marleybishop96497 жыл бұрын
this was very helpful
@evillego610 жыл бұрын
Thanks very much for this
@OwenPrescott10 жыл бұрын
Will this work the same with a flying vehicle? I've been trying but all the tutorials I have found at based on bipedal characters. I need hover vehicles to fly around.
@Yakirgar7 жыл бұрын
I am using 4.16 and it is working perfectly fine as it goes up and down stairs and through "rough" terrain such as uneven stairs and so on. Only issue is that I am not sure why the AI is not following me off ledges. It just goes around until it can find a route. Also, I have increased the Nav_Mesh to envelope the entire map but I can not see the green part at all from some reason.
@robo30079 жыл бұрын
Instead of making him move to a specific location is there a way you can make him just continuously move forward until told otherwise?
@RFCLeader10 жыл бұрын
Wow, AI is pretty simply in UE4.
@johngloid9 жыл бұрын
How do you get the AI to smoothly slow down or speed up instead of instantly?
@ethanscott2064 жыл бұрын
I've been trying to use this method, and while the character does follow, it only does it when I hit the button (G). Other wise, once it reaches me it just stands there until I hit it again. Also, it's very inconsistent on whether or not it uses its animations. Sometimes it does on the first hit of G, but then on subsequent ones it just glides across the floor. Any idea how to fix this/what's going wrong?
@MalcolmPlays10 жыл бұрын
Hi when I delete the graph for the 3rd Person Controller after I duplicate it from the original Controller it deletes the graph for the original controller that you are playing as to. So there is no animation to either nor a camera. Any help?
@Dedlus7 жыл бұрын
I have it set up so when the game starts the ai moves automatically but when I press start nothing happened I replaced the f button with "event begin play"
@DerVampyrEngel8 жыл бұрын
Can you do thios to make a an A.I character do this on a sphere? As I wish to do a cyber planet game and how do you get them the A.I charterers to get in and out of vehicles please?
@raiden5823710 жыл бұрын
Hey there, I'm trying your AI technique out in a side scroller im working on and the AI will only move on the X axis and not the Y axis. Any ideas?
@SourceOfViews10 жыл бұрын
You could just put the Targets point at the same X axis. Or you can break the vector and then make a new one using only the X axis, while leaving Y at the Y of the basicAI
@AnimeRPGFreakKenny9 жыл бұрын
Is there a way to move all target points on a map to a certain height? I'm trying to debug AI movement in a game that has over 100 target points to randomly move to and they all don't have the same height because they were individually placed onto the level.
@misswhalewhale9 жыл бұрын
AnimeRPGFreakKenny If you select all of the target points in the scene outline on the top right, and then in the Details panel, type in a number in the Location "Z" box. All of the target points will get that height!
@curtisimo03210 жыл бұрын
Do you know why the Get Controller is missing from the first person example? I wanted to try getting AI to chase me in FP but I cant created the same blueprint
@aaronstevens503510 жыл бұрын
figure this out?
@guns10210 жыл бұрын
Say I wanted to do a stealth game and I wanted my ai to walk a set path but in this path there is turns or something say like walking around a corner how would I do this (without button presses). Also is it possible to have the ai notice the human player if spotted using the flowchart system or would it require some programming?
@matthewlydigsen552910 жыл бұрын
I copied this exact code and followed all of the same steps but the character will not move. I can see that the code should be running because I have a print line after each move to location. Is there something I'm missing maybe some setting I have to change or something else I have to add other than the mesh.
@jpeg504710 жыл бұрын
is there any way you can make it so that if you walk close enough to him than he'll start chasing you and after you get out of his "zone" he stops chasing you again?
@PY5RA10 жыл бұрын
Instead of getting actor location of something, can we get the location of player's mouse position instead ??
@TheReturnofthetwitch8 жыл бұрын
hi am doing a flying game using 3rd person camera with a landscape but is there way for the character to walk on the navmesh following the player position while ground and while the player flys
@chengyanslc8 жыл бұрын
Maybe let the enemy move to something like (x,y,0) when the location of your player is (x,y,z)?
@RobsysGames7 жыл бұрын
My AI only follows the player over the ledge whenever it's incredibly close... how do I make it follow the player over the ledge regardless of what distance he is?
@linuswalden10 жыл бұрын
Hi Tesla, great tutorial, but I have a problem: I drag the Nav Mesh Bounds Volume in, but these green things don't appear. I did everything you also did. Please help me!
@TeslaUE410 жыл бұрын
Try pressing P ;)
@linuswalden10 жыл бұрын
Tesla Dev Thanks! It works now.
@lordfordy01410 жыл бұрын
so a question - i want to use this ai navigation, but then once the ai gets close enough i want to use an attack animation (i'm currently using the maximo start pack) any idea how i would do this with blueprints?
@genzuo9 жыл бұрын
Is there anyway to, once the ai has started following you, make the ai stop following you by pressing another button?
@contmike10 жыл бұрын
Really useful stuff. :) Thank you very much. What capture software and settings do you use for these videos? When I tried to record I got really bad frame rates :(
@TeslaUE410 жыл бұрын
Hey there, i just use "Action!" record in 1080p and in AVI.
@contmike10 жыл бұрын
Thanks! I will check it out.
@arturperzyna199710 жыл бұрын
I made everything until 4:00min and my npc doesn't walk ;/ why it could be?
@Desenbigh9 жыл бұрын
How would we make it so they would say custom sound Dialogue when they're wandering or if they start chasing us?
@decreate9526 жыл бұрын
how would i make the character teleport to a specific distance and use the navmesh
@yasiru2219 жыл бұрын
could you do a video to make it so that when the ai sees you, he starts chasing you, and if he loses sight of you, he goes to the last seen location, and then heads back to his starting location if nothing is found?
@kilianb1239 жыл бұрын
Hi, great tutorial! But the BasicAI Character doesn't jump! Could you please help me?
@CaliberBeats9 жыл бұрын
My AI just walks in place and ignored everything I say in the blueprints? :/
@alexbiflex24678 жыл бұрын
mine too
@shiyu34147 жыл бұрын
Can I use this method to rollingball mode? Because I do so, the AI ball do not move.
@kaiju10767 жыл бұрын
Can you import multiple mixamo characters and animations in ue4? 3rd person Template?. Thanks 😊 can you replace the default characters in UE4?.
@NatePlayzGamez6 жыл бұрын
ace :) cheers mate!
@pjdj410810 жыл бұрын
Oh, btw. If anyone was wondering how to have the AI move on its own. Attach the logic to the Event Tick function. It took a little while to figure that out, but that will get the AI working on its own accord and not on button presses. Now, I am having an issue with the rotation of the AI. It seems that when you're above him, or jump over him, he turns in a VERY un-natual manner. How do you prevent this and lock the rotation of the AI looking at the player?
@louismarriott79710 жыл бұрын
How would you go about detecting when the "Simple Move to" is complete, say I want the AI to move then when stopped change its rotation like seen in the Actor Look tutorial. Currently "Simple Move to Location" and "Set Actor Rotation" execute at the same time despite linking Set Rotation after the Move, thus the rotation never changes when the AI stops.
@SourceOfViews10 жыл бұрын
Well I don't know if there is an easier version, but I would just save the location it should move to and permanently check if its current location is the same and if it is rotate it
@markgregory27468 жыл бұрын
Hi, my 'Nav Mesh Bounds Volume' isn't refreshing. I am using 4.10.4. Known issue or am I doing something wrong?
@Surfur169 жыл бұрын
Could you do a tutorial on an AI that essentially just wanders randomly, or could I use parts from this tutorial to create this on my own?
@yghtim9 жыл бұрын
is this really the way to go? :P make all the AI's movement in levelBlueprint? sounds like its gonna be packt with stuff in that levelblueprint in the matter hours
@prophet72478 жыл бұрын
that's what I was wondering.
@lpnp94778 жыл бұрын
Definitely not, this is just for demonstration purposes. You should put all this logic on the AI Pawn itself or on its AI controller.
@lumbabumbaschumba49757 жыл бұрын
This is the worst way to do this.
@SourceOfViews10 жыл бұрын
Strangely my editor crashes, even though I did nearly everything as you did it. The differences are: -I have used an own pawn and I don't know much about a those things. Does it have to have some special components? Mine has a capsule, a destructible Mesh and an arrow. -I used the First Person Template, but that should not be a Problem, right?
@SourceOfViews10 жыл бұрын
I now redid it in the third person template and it worked, but I need it in the First person template, so what do I have to change / add?
@SourceOfViews10 жыл бұрын
Ok I found the error: I used the wrong parent
@SourceOfViews10 жыл бұрын
***** I honestly don't know any more and can't really search it up now, but I think it should be 'character'
@FLTxxdxx9 жыл бұрын
Thx, really helpful!
@CanMetan10 жыл бұрын
I wasn't seeing the green navmesh on my screen, you have to press "P" in order to see them.
@global3dee96810 жыл бұрын
Hi, creat tut, I create in scene using C4D. I need to figure out how to great a cam animation in UE4. Would I need to use the same technic asyou have show here?
@Mahoxy9 жыл бұрын
Is it possible to use this same blueprint for the Vehicle Example Project? Because I've tried and it didn't work :(
@IsaiahSleziak9 жыл бұрын
+Delfux That's what I'm trying to do have you found anything out about this?
@Mahoxy9 жыл бұрын
Nah sorry, I had to in the end use someone's car AI template and just built it from there.
6 жыл бұрын
Have you figured out yet?
@Realtalkvideogames10 жыл бұрын
Hey Great vid, When i upscale an AI it no longer works even if i extend the mesh well above its height. Do you know how to fix this? Thanks :)
@moviemonster998 жыл бұрын
HELP!. Tesla could you please tell me what option do I have to check or uncheck in order for AI not to collide with static mash objects inside the Navmash. When Ai hits the Static mash it restarts the level. Restart is ok but only when AI collides with my main player. Help really need answer Please. Thanks Tesla!!!
@jaaj.8 жыл бұрын
the ai won't go up stairs, even though the navmesh covers the whole staircase, help?
@greninjagreg62458 жыл бұрын
In 4.10.4 the get random point isn't in it anymore!!! What should i do?
@aaronstevens503510 жыл бұрын
Followed exactly, redid 4 times. (in top down mode) and the AI will not move on f or g. any idea what could be wrong?
@ricksanders51779 жыл бұрын
Aaron Stevens I am having the exact same issue. I created a new project and literally followed every single instruction and my enemy character will not move. Did you ever figure out what the issue was?
@ricksanders51779 жыл бұрын
Aaron Stevens Nevermind I figured it out. You have to select the navigation boundary area and press the P key to make it green to populate it for him to walk on.
@Ksarielchanel9 жыл бұрын
but as you do green and red to highlight Target Prompt please
@erickvalencia79629 жыл бұрын
hi yhanks for the video how can i do fo make the enemy hit me when is too far of the character?
@MobiusChickenStrip10 жыл бұрын
Unreal will not let me delete the camera or camera boom. The delete key does not work, and when I right click, the "delete" option is not lit up.
@MobiusChickenStrip10 жыл бұрын
Figured it out; I clicked "create blueprint based on this" instead of "dupicate". When I properly duplicated it, it would let me delete them.
@Sorrowforliving9 жыл бұрын
I saw you're response regarding setting a random target point that he selects but is there a way just to make him roam wherever he wants within a set location while avoiding obstacles?
@Nosirrbro10 жыл бұрын
I get the error Access None 'Instigator' from node Simple Move to Actor
@Nosirrbro10 жыл бұрын
I found my problem, I need to make the object a pawn but I cant give the pawn a movement controller.
@mrovelino10 жыл бұрын
You are my hero!
@murkygames19 жыл бұрын
when i try to connect Ai to get controller, I cant connect it directly but with instigator and when i play and press f it says that there is no instigator. I am using UE 4.8.3
@Matthew.199410 жыл бұрын
how can i say that he walks slowly? and dont run to all the waypoints?
@crazylegsenix387810 жыл бұрын
Is this method out of date? I'm on the top view (Bird's eye view) project set up and I've followed your steps but my AI is not moving anywhere, could it be how our "MyController" I could email you a picture of my level blueprint and also "MyController" blueprint so you can tell me where I went wrong. I'm doing this as a project for my class and the AI's are the only part thats killing me. Thanks Tesla!
@crazylegsenix387810 жыл бұрын
Also I'm running Unreal 4.5
@CHADALAK110 жыл бұрын
I approve :) it's good :D
@deroy2317 жыл бұрын
In UE 4.15, i can't figure it out, how to make it move. I've done exactly what is in video, but it stands still. Don't be too harsh for me. May i just overlooked something
@Steedie10 жыл бұрын
How can you get the AI to follow you without having to press anything?
@RaGeGaMeInGxm10 жыл бұрын
replace the button press component with "Event Begin Play"