How to decrease lag when a lot of moving objects are spawned?

So, I am making a game that is basically a 3d Shoot em up game and they throw out lots of projectiles. the server side often lags the projectiles and makes them move in steps instead of moving smoothly. Please tell me what I could do to fix this issue.

I think FastCast was written to solve that very problem.

There are also videos you can look up on FastCast.

1 Like

OH THANKS! I’ll check the module

You could try making the projectiles, or at least the visuals, client-sided.

YEAH! that was the one I was looking for though. Can you please tell me about it? and how to do it?

There’s a lot of variables. Are server-sided NPCs shooting the projectiles, or are players shooting projectiles at each other?

Players yes, But I might add NPCs soon too. Just the players for now

All you need for a client side-projectile is to tell the client how to create one. Like how fast it’s going, what the direction is (might want that to be determined by the client), and what it’s visuals are. Then the visuals of the projectile can be replicated to all the other clients.