MirrorNetworking / MirrorNetworking/Mirror
NetworkTransformUnreliable Rigidbody demo initial jitter if onlySyncOnChange is enabled
Open
@ninjakickja is already working on this.
Since Jun 20, 2023.
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 870
- PR merge metrics
- No merged PRs in 30d
Description
- open rigidbody demo
- in hierarchy, find Server Ball A, enable 'only sync on change' in RigidbodyUnreliable if not enabled yet
- build & run. build = server-only
- editor=client
- server: press space once
- notice on the client, the unreliable ball moves up a bit immediately, then waits for 2-3 frames, then moves smooth
- reliable one is just fine. onlySyncOnChange disabled is just fine
here is default, without onlySyncOnChange: notice it's smooth
https://github.com/MirrorNetworking/Mirror/assets/16416509/27edcb00-34f2-4da4-b012-4bb9c4d2463c
here is with onlySyncOnChange enabled:
https://github.com/MirrorNetworking/Mirror/assets/16416509/3548d860-e684-4b3f-8260-0344eeb30968
here is slow motion, stepping through the frames:
https://gyazo.com/9beaa9d9b1e4392efa9b2e7c150381fe
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.