How to make NPC's avoid obstacles (and themselves too)

Hello! I need some help, I spawned some NPC’s and I want them to move to the target part (That works) but now the problem is… They bump into each other. It was an easy fix just turn of they’re collisions. But now they look, how do I put it. Not realistic AT ALL

what I mean.

do you know how to make them bunch up in groups and not move in a straight line? Thanks!

EDIT

I’m using TheDevKing’s AI Pathfinding service video

Use pathfinding service: https://developer.roblox.com/en-us/articles/Pathfinding

I am I’m also using TheDevKing’s AI Pathfinding

I recommending you to use this module. It’s pretty useful & easy to use and is what I’ve been using it for a long time.

1 Like