The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our

Please check if you can find an answer in our extensive documentation.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

Jitter on client side's player.

2018-12-28 05:27:33

Hey , I have been having a problem getting my first bolt project up and running. I ran through the tutorials and am trying to run it on my own project. I'm just trying to get the movement working for the clients, but the client's character is shaking only on the client's screen. I think it's related to the prediction on the client side not working correctly.

I'm using a command to send the input to the server, Is that the correct way to do it. I think it might be a common newbie problem.

Here is a video of the problem. let me know what code snippets you might need.

Left side is the server, Right side is the client.
The top of both screens is what the client/server is controlling, and the bottom is the other's.

I am not using a rigidbody to control the characters because I saw that that causes problems. (I'm using the default character controller)

Thanks :)


2018-12-30 04:54:57

I tried using the examples and seeing what I'm missing. The client now rotates without jittering but doesnt move (It seems like the isgrounded flag is always set to false). I think I could figure it out but I've been at it for a couple weeks and just need some help. So here is my code:



Edit: the client's character still moves correctly on the server.

2018-12-30 11:37:55

Skimming it I don't see a clear issue. Take a look at this example here

I would start with a very simple auth controller, make sure it works on the client with latency, and add to it from there.

2018-12-30 11:41:42

Yeah, I think I'll do that, thanks :)

2018-12-30 18:22:34

I had the same problem with disabled dejitter buffer. Try check it in Bolt settings. I noticed all Bolt interpolations depend on this.

2019-01-03 02:00:46

Hey! I solved the problem, A big thanks to you both. I'm not sure exactly what I did, I just cleaned my code and took it step by step haha. Thanks a lot for the help!

2020-02-15 17:44:06

Hello @Capela . Did you figure out what the issue was?
I have exactly the same issue and I can't figure it out.

Back to top