How laggy are humanoid NPCs? How many is a lot?

Hi. I am working on a simple player chasing NPC and first I gave a shot to non humanoid version as I heard humanoids were not very efficient lag-wise, but I had hard time with movement and jump systems, they did not feel natural at all. So now I am willing to try humanoid NPCs just to be able to use MoveTo(), but I am worried about lag.

As long as the AI core script is decently optimized, how many humanoid NPCs can I use at the same time without having serious performance issues? How would it compare against non humanoid NPCs? Does anybody have any guess on numbers?

2 Likes

I guess it depends, but I’ve seen people have around 20 or 30 NPCs easily with raycasting stuff in their code and no other optimizations. Like Y3llow Mustang, the youtuber that creates a lot of cool NPCs and makes them fight eachother.

But you could optimize them even more, it has been discussed in other posts tho like these ones:

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.