#Can't change the "sync Interval" parameter in the "network transform" component.

16 messages · Page 1 of 1 (latest)

faint sage
#

Hello I can't change the "sync Interval" parameter in the "network transform" component. The slider seems to be frozen and constantly at 0. And I need to slow down the synchronization speed a little so that it does not become so sharp. Can this be fixed or implemented in some other way?

fossil pagoda
#

@faint sage its moved to network manager

faint sage
faint sage
fossil pagoda
faint sage
# fossil pagoda Local player wont have network lag, your not sending positions via cmd rpc right...

I want to create a game where all calculations will be on a dedicated server to protect against cheaters. In the FixedUpdate method, I check: if I'm not a server, then I send the cmd command, where I set the velocity for the rigidbody. The network transform component also hangs on the player, which transmits the current position of the player to clients. Previously, this process was smooth, that is, the player simply floated to his "Legitimate" point, and now it's jumps. I want to understand how to get this back in the new version of mirror.

#

FixedUpdate

#

CmdMove Function

#

Player components

#

Network manager

faint sage
#

I also noticed that the player lags already on the server, although he should move there without jitter. I'm pretty sure it's because of the network transform or network manager settings.

faint sage
#

I fixed it. Almost all problems were in camera. It followed player in FixedUpdate, after cmdMove, so i put it to LateUpdate. Its was camera jitter, not player

vivid pendant
fossil pagoda