Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

GTA like vehicle and pedestrian ai


Is it possible to create an ai like gta? How can i make cars drive around my city with peds inside? The player should be able to to steal the cars from the peds inside the car like GTA. Do i need for this multiple AI controllers or only one for all? How i start with this? I alredy created and programmed multiple enterable cars which the player can enter with animation and drive.

Product Version: UE 4.20
more ▼

asked Oct 29 '18 at 03:34 PM in Blueprint Scripting

avatar image

16 2 5 9

avatar image mightyenigma Oct 29 '18 at 05:01 PM

What do you know how to do yet? Do you know how to control character pawns with AI? How about vehicles?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Vehcile is in docs


And here is somebodys project from 2014. Exactly GTA like movement.


AI isn't hard in UE4. You have even move to node. Watch for example https://www.youtube.com/watch?v=3GV6-4uhkYc

And you will need to adjust it to your project.

more ▼

answered Oct 29 '18 at 08:05 PM

avatar image

431 4 10 14

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I have already a third person character which can enter/exit cars. I just need an ai like GTA. How to make cars and peds follow paths and spawn only around player dynamically in a big open world using World ccomposition. I dont found tutorials for this.

more ▼

answered Nov 01 '18 at 05:12 PM

avatar image

16 2 5 9

avatar image Przemek2222 Nov 01 '18 at 05:32 PM

AI which moves car will be pretty easy in Unreal. Just find some tutorial on how to move ai to location. I think this tutorial is ok:


avatar image mightyenigma Nov 01 '18 at 05:38 PM

But how to make it work within a larger system where levels are being streamed in and out via World Composition tiles?

avatar image hussellsmix Jan 15 '19 at 02:40 PM

did you ever figure out how to do the gta Ai

avatar image mightyenigma Jan 15 '19 at 04:44 PM

I think that for the game deciding when to spawn what in the vicinity of the player, you will have to make up your own way of doing it. Fortunately you can. Maybe there are some non-Unreal tutorials on how it's done. It's a concept that is not specific to Unreal, because it is not a built in feature of Unreal, so expand your search to more generic concepts.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question