How would i make a hybrid hitbox system that makes the hitbox on the server and client so its position, etc doesnt get delayed?
1 Like
I don’t get what you mean. Where do you want the hitbox to be calculated?
You have to simulate your hit effects, etc on the client and then replicate them to the server. This does mean your game will be client authoritative, which might be OK. Then you send a network message to other clients to play the effects too, while doing server only stuff on the server.
Note: this has very weird issues with network ownership and some things behave exceptionally oddly. Animations for example require nasty hacks to turn off auto-replication.
Basically im creating the hitbox on the server but for the client it’s super delayed. I can reply with a clip if you want
Im not sure if this will help but thanks for the info!