#CSP movement jitter

23 messages · Page 1 of 1 (latest)

wide ridge
#

Hey, I'm using Fishnet version 4.6.15 and Unity 6000.0.59f2 and I have some CSP rigidbody movement set up. The issue I'm experiencing does not happen on the host/server but only on clients. When clients start and stop moving they experience some jitter and the CSP seems to be correcting them even if they have no latency and aren't cheating.

vestal spear
#

Hey there, do you have a video showing what it looks like?

wide ridge
vestal spear
#

When do you call the reconcile?

wide ridge
vestal spear
#

Do you have any smoother setup?

#

If so, try removing it and using the NetworkObject's graphical object field instead

wide ridge
vestal spear
#

Hmm, what does the replicate and reconcile code look like?

wide ridge
#

I can send the PlayerRigidbodyMovement script over too

wide ridge
vestal spear
#

I don't think I see a mistake there 🤔

wide ridge
#

or maybe my rigidbody settings?

vestal spear
#

Well, some jitter can be expected, but the smoothing should be able to smooth it out

#

Where does currentMovementSpeed come from?

wide ridge
wide ridge
vestal spear
#

Well, anything that affects movement needs to be handled inside the replication loop

#

So likely that part isn't fully

wide ridge
#

Alright, I'll play around with that a little then, thank you!

wide ridge
#

I moved the currentMoveSpeed into the movementData struct and now it works great!