Hey there, in this video I will show you how to create a patrol system for your AI.
Пікірлер: 13
@sr.d831924 күн бұрын
Great tutorial,thx master
@nhutphan943411 ай бұрын
amazing content keep it up i have learned so much from this series :)
@tyagoteoi79783 ай бұрын
thanks! i adapted for a 2d platformer game and it worked !
@roydash565711 ай бұрын
Very cool!
@KaijuGameplayTv659211 ай бұрын
i love the tutorial
@CommanderColson9 ай бұрын
Great video dude! Is it possible to set up a separate blueprint actor that will check its own world location and communicate that to the NPC as a destination to travel? In otherwords, I make a blueprint actor with a flag mesh, and I want to copy+paste that all across my level, and I want the NPC to automatically just travel between the flags?
@lisowi.9 ай бұрын
I like this concept, you could definitely set this up, but how would the npc know when to travel? What I understand from this is that the flag sends a message to the npc 'hey I'm here, come'.
@filipp.9413 ай бұрын
Bit late to the party, but I figured this out. Instead of PatrolLocation vector array, create a Blueprint object reference for your flag blueprint. Under Variable Type set it to Array, and check Instance Editable. Grab that Object Reference Array, from it 'get(a copy)' and plug the Locations integer in the bottom pin (same as it was with the patrol location vector) from the GET node, drag out Get World Location (flag mesh, blueprint, whatever) and plug that into AI Move To - Destination pin. Then when you place your flags in the level, you need to create Array Elements in your NPC blueprint like before, but select in the dropdowns all your flag blueprints.
@CTRLsway12 күн бұрын
it doesnt loop back round to the first position once its reached its final position! why???
@CTRLsway12 күн бұрын
nevermind i forgot to set the integer at the end!!
@user-pt1qf3ur4k7 ай бұрын
my character looks like walking at the each destinations. like blending from each points.. but yours dosen't looks like. I mean character still walking at almost nearly destinations :) Any Advice?
@user-pt1qf3ur4k7 ай бұрын
I've solved issue with Acceptance Radius 5>100
@davidquee87287 ай бұрын
I do have a question about this and I've noticed it was a lot of AI moving tutorials I noticed on everyone I've tried right before character stops movement walks like they have a dump in their pants all jokes aside I wonder what causes this