I have a gun, currently it creates a visual bullet on the client to make it more responsive for if done on the server the bullet will be delayed cause of latency. The thing is, I have to raycast on the server for it to deal damage properly but that means the bullet wont necesserily show the correct impact so should the visual stay on the client or be moved to the server?
Yellow - Client
Red - Server