Roblox Pursuit AI: autonomous & self-driving cop car chases

Ive sent you a PM with the idea I had in mind.

1 Like

If you’re going to release this as open source :hear_no_evil:

I really going wait and see what the community will make with this…

Maybe Racing game, Police, Open world, Tesla car with Autopilot, So many things to do with this :smiley:

1 Like

I hope to create a module so you can implement it into any constraint-based car with functions such as :DriveToNode(BasePart) and :Pursue(BasePart) which can be used every game tick, :upside_down_face:

3 Likes

That sounds awesome!

You don’t need to make a module however. I would be happy to just see an example place that is opensourced (maybe with a free model car).

A module would be nice but would also require a lot more work on your part.

1 Like

The generation of self-driving cars on Roblox is (still) unexplored. I want to help newer developers to learn/use how to create something like this and want to invite experienced developers to cooperate onto a better resource. Everyone benefits :smiling_face_with_three_hearts:

2 Likes

umm… weird question but can we get a sneak peek from the code? :thinking: :smiley: :hear_no_evil:

if whiteCarHasBeenFound then
   copCars.Speed = vroom
end

Hasn’t been officially confirmed by @xChris_vC yet :stuck_out_tongue_winking_eye:

3 Likes

In case you will use this in a game, do you rather want a contribution where you can let cars self-drive to a specific position or do you rather want to see the pursuit?

2 Likes

hmm…

I think to see the pursuit… If I understood It correctly

1 Like

I really want to start a project of self driving car with autopilot engagement.

Maybe It’s too much for roblox?..

1 Like

People are way too smart. I love this. This is amazing. This is so good.

2 Likes

This is pretty sick, it’s like the GTA San Andreas cop car chases.

1 Like

This project proves that Roblox doesn’t have that many limits as we assume it has (programming-wise), :upside_down_face:

1 Like

Haha indeed! GTA San Andreas is now 15 years old, this project exists for a few weeks :sweat_smile:

2 Likes

This is AMAZING! If it isn’t too much to ask, would it be possible to uncopylock the game?

1 Like

This is insane, I tested the game and it looks great. Good job, :+1:.

1 Like

I’m currently working on letting the car avoid objects and make the scripts easier to modify & understand. If that all works out well, this contribution will be open-source! :upside_down_face:

2 Likes

Collision avoidance is getting somewhere :eyes:

5 Likes

That’s cool!
Is it using a neural network?

WOW! I’m really wanting to use this in some projects! Hmmmm… would it be possible to have players be tagged with CollectionService a “wanted” level from 0-5 and have a corresponding amount of cops chase them? (like lvl. 1 would have 2 cops and lvl. 5 would have literally the ENTIRE POLICE FORCE swarming them?)

Also, is it possible to have the cars stationary until a police officer NPC jumps into one? Sorry if this is too much to ask, but it’d be appreciated!

P.S. This project was my inspiration to build my own AI vehicle system (which, sadly, only works on a straight line)

1 Like