Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NT Jitter with RB Player #3931

Open
MrGadget1024 opened this issue Oct 23, 2024 · 2 comments
Open

NT Jitter with RB Player #3931

MrGadget1024 opened this issue Oct 23, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@MrGadget1024
Copy link
Collaborator

MrGadget1024 commented Oct 23, 2024

  • Pull the PlayerKRBJitter branch
  • set up the PlayerTest scene to build
  • note that it has PlayerRBReliable prefab assigned
  • build and run host or client
  • play client or host in editor or another build
  • Press R in both to enable AutoRun
  • Start one strafing right, then the other

BUG: local is fine, jitters on other.

  • Swap in the PlayerRBUnreliable prefab in network manager: same jitter
  • Swap in the PlayerReliable or PlayerUnreliable prefab, which use Unity CC, they're both perfect for all.

Controller code is nearly the same for the CC and RB controllers:

  • PlayerControllerRB calls ApplyMove in FixedUpdate and applies velocity to the rigidbody.
  • Rigidbody is non-kinematic for the owner client, kinematic everywhere else.
@MrGadget1024 MrGadget1024 added the bug Something isn't working label Oct 23, 2024
@realQuartzi
Copy link

Not part of the issue... but there might be a typo with ContollerUIBase.
Is it supposed to be called ContollerUIBase? (missing r) should be ControllerUIBase right?

@MrGadget1024
Copy link
Collaborator Author

Not part of the issue... but there might be a typo with ContollerUIBase. Is it supposed to be called ContollerUIBase? (missing r) should be ControllerUIBase right?

Fixed name, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants