So I have a game. in this game there exists 2 weapons (so far)
- a basic, decent ranged automatic archetype, you shoot, it raycasts, and deals damage accordingly (the thompson)
- a rocket launcher that deals area of effect damage, and great knockback (allowing for rocket jumping)
the problem? the thompson is buns, and rpg is meta. why? the hit registration is buns. why? it raycasts from the server, and it's buns. why? the latency between the server to client and vice versa is buns, and it being a movement shooter doesn't help. The players are in a different position than the clients think, so while it may appear that you're shooting a guy, he's not taking damage because the raycast on the server is completely missing.
i could just put the raycasts on the client, but that is very exploitable, even with server-side checks. So that's why I'm here.