Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Why is Photon so laggy?

$
0
0
I have a 2D game and i've been using Photon to make it multiplayer, however the movement of the other player on my player's window looks very stuttering / laggy. Is this a problem with Photon because i've seen loads of posts with people having the same problem.


Here's the code to move the player (simplified):
Code (csharp):
  1.  
  2.      public Rigidbody2D rb2D;
  3.  
  4.  
  5.  
  6.       public void Update () {
  7.  
  8. Vector3 targetPos = newVector3(369.1f, -188.9f, -0.1f);
  9.  
  10. rb2D.transform.position =...
Why is Photon so laggy?

Viewing all articles
Browse latest Browse all 16796

Trending Articles