RPC function vs RoleAuthority check?

“For the time”, because you shouldn’t multicast hit results. That’s overdoing it.
Server AND Client should shoot. And both get their HitResults. And the Client uses his HitResults to
draw effects, the Server also does this if he’s the ListenServer + handling Damage when a line trace hits something.

Check out the ShooterGame if you want to learn a bit more about creating Replicated Weapons in C++.

1 Like