Generating lighting bolts: Client vs Server

Everything effects related should be done from the client.
Whatever does not have to be run on the server simply should not. If something is on the server it just gets replicated to the client anyways so you may as well put it on the client so the server does not have to deal with the effects which can cause server lag.

I actually just finished adding lightning effects to my game and its all 100% on the client.
I also recommend using this API for lightning effects rather than making your own.

(I used the deprecated parts version as it looks the best)

1 Like