he chases me until he is on my position, how can i make it so he is chasing me until i am out of the view cone and he stops?
@gokussj4af210 жыл бұрын
+1
@spinav9 жыл бұрын
KleytenHD I'd like to know this as well!
@gustavopch9 жыл бұрын
I don't know about previous versions, but in UE4.8 the AI character doesn't stop chasing when it gets to my player. The thing is that it's easier to get away from the view cone when your are at the top of the cone.
@RohitKotiveetil10 жыл бұрын
You're awesome dude! I've been thinking over how to implement pawn sensing in my game once I start working on AI. Nice to know that there's a default setup already existing in the Engine.
@SeanBattle10 жыл бұрын
Tesla Dev is truly the man!
@Jamiex3058 жыл бұрын
Hey did u ever do that video on the hearing side of the AI ?
@SystemUnderSiege8 жыл бұрын
Love your tutorials, quick and too the point, much appreciated!
@2010Edgars8 жыл бұрын
Simple add "Nav Mesh Bounds Volume" and scale for all area you want to let follow you. Its works. Thanks Tesla.
@Rizz0NLGaming10 жыл бұрын
Nice tutorial man, short and sweet :)
@TeslaUE410 жыл бұрын
Rizz0NLGaming Thanks! It's what i aim for =]
@shingAMarie9 жыл бұрын
Hey Tesla, how do you make it so that if the enemy pawn is not sensing you, that he just walks around randomly. And also if you get out of his sensing range, he stops and just walks randomly. Thanksl
@shanilwijesinghe52017 жыл бұрын
I couldn't find On See Pawn even when I toggled context sensitivity. (Maybe because I now use Unreal 4.15.3). If anyone else is stumped on that, what helped was selecting the variable Pawn Sensing on the left and then right-clicking on the event graph. You'd then click a drop down menu called "Add event for pawn sensing." And then click another drop-down menu called "Event Dispatchers." You should now be able to see "On SeePawn (PawnSensing)"
@CarlosCoronadoGameDev10 жыл бұрын
Can the player be occluded by geometry with this method?
@TeslaUE410 жыл бұрын
Carlos Coronado I think so!
@joebonds30728 жыл бұрын
I've been looking everywhere to find a BluePrint way of getting the AI to follow me and JUMP to follow me. Need Help with the JUMP
@kyle-carpio8 жыл бұрын
Hey, where is your hearing tutorial?
@Broockle7 ай бұрын
Awesome How do you set the movement speed of the pawn though? 🤔 EDIT: o it's in the Character Movement Component. "Max Walk Speed". Not sure why this is measured in cm/s 😅
@valkaranentertainment90498 жыл бұрын
I have it set up where a character can walk by default. How would I make the character run the further away I get?
@pvalencia9 жыл бұрын
Thanks for this awesome tutorial, it's incredibly helpful! You make it look so easy. Keep up the great work
@TheDunkelschatten5 жыл бұрын
Is there a possibility to let the ai look for the physical body parts instead of the pawn? I'm making a VR game with a full body, and this would be essential for the gameplay. Thank you!
@r.a.h.company94693 жыл бұрын
my AI can see trough walls/static mesh... can you please tell me how to fix?
@TheBrokenSolstice9 жыл бұрын
but "cast to myCharacter" is no longer there... And I can't connect the "Self" reference to the Pawn input..
@TroJanVirusMusic8 жыл бұрын
"myCharacter" is a placeholder. Yours may be called something else depending on what you named it. Have you set up your game mode? If so, check which pawn is being spawned when you press play. If "self" is not connecting to "Pawn" I suspect the above information to be the issue, (your gamemode settings).
@spinav10 жыл бұрын
Hi Tesla, for some reason it doesn't work for me. My ai is a character blueprint... seems the AI move to doesn't work. Any ideas?
@8KEN9 жыл бұрын
How would it work for when the AI is in the players vision? It doesn't work as the Pawn Sensing is for AI?
@everettlee798 жыл бұрын
Have you found a fix for this? I am running into this problem.
@moviemonster998 жыл бұрын
Hi Tesla! Would you have any tutorials on pawn sensing (Hearing). AI looks kinda silly if your behind his back. Would be nice if he herd the footsteps that way he probably turn around. When ever you have time 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!!!
@kseverens7 жыл бұрын
Is there a way to trigger/switch a boolean on/off using pawnsensing? I want to use this to trigger my behaviour tree and animations. I have a free roaming (random walk and stop behaviour) zombie which chases the player if he gets within vision range and stops when he gets out of the vision range.
@ChristianConspiracy8888 жыл бұрын
ive used this tutorial before for other projects an it worked fine but i am working on a vehicle project and cant seem to get anything to follow/sense the vehicle :( anything different i may need to do for a vehicle compared to 3rd person?
@BizzVisuals8 жыл бұрын
Is it possible to use the ai pawn sensing on the player so that when I see an enemy it fires an event?
@RavageStudio8 жыл бұрын
How could you do this a way the ai would react to sounds?
@adamjones64736 жыл бұрын
Hi, I'm doing this using sprites and I'd like them to stand up straight without rotating. Would anyone know the best way to go about this? I want the sprite to follow me I just don't want it to face me.
@ipasthemaster9 жыл бұрын
Strange there is not a OnNOTSeePawn event implemented. How do I solve this ?
@mythical_pizza9 жыл бұрын
+ipasthemaster use a boolean variable. If it's false then just have him do the other stuff he'd do when not seeing.when the onseepawn is active, make it true
@everettlee798 жыл бұрын
How would you set the Boolean to false when you can no longer see the player?
@azythegreat2 жыл бұрын
This is when Ai detects and starts chasing you. If you able to run away and is out of range, the ai still chase you. How to stop it?
@matiasvlevi66477 жыл бұрын
can we make a 360 pawn sensing?
@nekrosprime15536 жыл бұрын
How would I disable his pawn sensing
@connormcfarland52077 жыл бұрын
the AI doesnt chase for very long. any ideas?
@adelmo839 жыл бұрын
thank you very much, excellent video, anyone know how to do to slow rotational and movement of AI character ?
@Funktionreal9 жыл бұрын
Hey tesla absolutely loving your work. Just wondering if you have any plans for 'companion or pet ai' tutorial would be interested in checking it out Keep up the good work
@Wattsy9 жыл бұрын
tesla, how do I make so that he roams when I am not seen
@Raidbollen8 жыл бұрын
How can i tell the enemy stop follow? ^^ thanks for the tutorial
@moviemonster998 жыл бұрын
Amazing tutorials! How ever when I add sound to location the sound is looping every half second instead of playing the whole sound which is about 5 sec long. I selected (looping) in sound settings and didn't work neither with wave or sound cue. I just wan the sound to loop from beginning to the end. Also the sound dosen't shut off when running away from the AI enemy character. Seem like play sound at location not working.
@TroJanVirusMusic8 жыл бұрын
Play sound at location is just a node to play sound from a specific location as opposed to play 2D sound which will play it "IN" your game which is designed more for the player themselves, like ambient music etc. If the sound is not playing completely I suggest testing the audio in the engine to make sure it is indeed the full loop by opening the sound/sound cue and playing it. If that is all fine I'd say some other theory is preventing the sound from playing and without any context it's hard to diagnose what is wrong :/
@moviemonster998 жыл бұрын
Ok explain these. How can you make Ai go around static mash without restarting the level. Was set up to restart the level when it collides with the main player how ever it has the same restart level effect when it touches static mash objects in the bouding nav mash. I want turn off the option some have in the static mashes. Any idea??
@moviemonster998 жыл бұрын
TroJan_Virus Ok explain these. How can you make Ai go around static mash without restarting the level. Was set up to restart the level when it collides with the main player how ever it has the same restart level effect when it touches static mash objects in the bouding nav mash. I want turn off the option some have in the static
@TroJanVirusMusic8 жыл бұрын
I need the logic you use to call that restarts the level. Without it I'm only guessing. Try uploading a screen shot to imgur and linking it here, alternatively flick me an email at trojanvirusmusic@gmail.com But if I were to guess, I'd say you were running the restart command whenever the AI "collides". Problem may be that "Collide" isn't specific. Perhaps changing the AI details so that it can only collide with your pawn/character for testing purposes.
@moviemonster998 жыл бұрын
Thanks. But I tried bunch of different collision options but no luck. Probably didnt do it right. Waiting for Ben's answer see what he thinks. Also I notice that infinity blade characters dont have no collision. So i put block all collision settings but still nothing. Any idea why block all collision would not work?
@MyPixHD10 жыл бұрын
Steam matchmaking tutorial ? ^^
@Lumhax8 жыл бұрын
Hi tesla ! I've a question, i want to make the fairy in zelda so she follow the caracter but move too, how can i do it ? ty :)
@TroJanVirusMusic8 жыл бұрын
Replace the inherited static/skeletal mesh of the AI following with your Zelda model instead. So: In your AI blueprint left click the skeletal/static mesh in the component window then in the details menu replace the "Static/Skeletal Mesh" with your one (Zelda). Giving Zelda animations to walk and run is up to you. There are plenty of AI animation tutorials out there.
@Lumhax8 жыл бұрын
+TroJan_Virus Yeah ty it's working ^-^
@TroJanVirusMusic8 жыл бұрын
+Shadow - UE4 & Games Glad to hear it!
@DjMatrix6198 жыл бұрын
I followed each second of this tutorial, but this doesn't work to me. The character doesn't follow me at all. Any idea why?
@nicolamiotto63248 жыл бұрын
+Marco I. Post a screen of you blueprint, it's hard to tell why this is happening without infos. Maybe the speed of your pawn is set to 0?
@DjMatrix6198 жыл бұрын
+Nicola “UnhardcoreGaming” Miotto I built an entire new game before your reply. :)
@nicolamiotto63248 жыл бұрын
Indeed I thought a month could have been a bit too much time, but who know for sure? Hahah
@yaboyconnor22406 жыл бұрын
Hey Tesla, how are ya?? I have a question for you & am kinda struggling to find an answer... How do you make ai make a sound when it spots the player?? Sorry I’m kinda new to UE4. Cheers!!🍺👍🏻👍🏻👍🏻 Edit: Also, can anyone else help?? Any guidance is HIGHLY appreciated👍🏻👍🏻👍🏻
@N1LSS0N6 жыл бұрын
Import audio to your project, then add the audio to your AI (also turn off auto activate in the audio details so it dont play in the beggining) then after "AI Move To" add your audio and a node called play (i think). ask if you need more help! :)
@LrdOfNightmares10 жыл бұрын
THANK YOU VERY VERY VERY MUCH MATE!
@TeslaUE410 жыл бұрын
LrdOfNightmares No problem haha!
@andrelouvier7 жыл бұрын
Hearing vid?
@EricMcClair9 жыл бұрын
Deos this work on 2d games too?
@Pahan75D18 жыл бұрын
yeap, but one man do own sensing for 2d siegeandsandfox.com/dev-blog/dev-blog-ai-cone-ception/
@__dINe__7 жыл бұрын
Basics of "Hello Neighbor" i guess :p nice tutorial!
@blakegt.73265 жыл бұрын
I waited 4 years for Hearing tutorial..... but soon never came.
@DigiDestinedTR1999-8-110 жыл бұрын
More AI tutorials please.
@we48037 жыл бұрын
I did everything in this video, but it dos not do anything! it just stands there
@kocamanful9 жыл бұрын
awsome
@shadowxll110 жыл бұрын
thanks
@majorsquidgaming69657 жыл бұрын
Thanks! I'm making a cool zombie open world game! please wish me luck :D