#Can someone teach me how to create smooth knockback for PvP?

1 messages · Page 1 of 1 (latest)

clever forge
#

Hello I am Kanji, I have been researching smooth PvP knockback for a long time, nearly half a year.
Things I have tried include:
-Server sided knockback
-Client sided knockback
-Changing network ownership
-Cloning the victim's character
Due to replication delay the only thing that seems to have worked is cloning the victim's character however, there is occasionally a slight desync.
I basically want to know if there is a better way to create instant knockback on both clients or if there is a way to minimize/correct the desync in the cloning system.

eternal moon
#

Hey man, respect for diving that deep into knockback stuff. Honestly, replication delay's always tricky. Cloning can work, but yea, desync is kinda inevitable. You might try running the knockback on both client and server — like send the position or force direction through a RemoteEvent so both sides react at the same time. It won’t be 100% perfect but can help smooth it out. Also maybe mess with NetworkOwnership again — give the hitter control right before knockback hits.

Hope that helps a bit 🙏