You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to make a zombie NPC that can chase player by pathfinding and avoid colliding with eachother so they don’t look clumped too crowded like the game Guts And Blackpowder.
-
What is the issue? Include screenshots / videos if possible!
When the zombies start chasing player it formed a big blob of zombies and causing a lot of lag
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried welding a part called “Collider” to a zombie’s model then add pathfinding modifier to it.It kinda work, but it makes the zombies moving so jittery.
, I tried setting the zombie’s collision group to not collide with eacother, but it make the zombie clamped together. I want it to move away from eachother.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
Here is the place file
ZombieEscape.rbxl (72.4 KB)
If you are trying to change the pathfinding logic, please go to ServerStorage>Zombie>Module>Pathfinding, sorry for the messy code I trying to learn how to use modulescript. I hope you can solve my problem. If you want to ask any question, feel free to comment on my post.