Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Lag compensation

$
0
0
I think that I read all the topics about this subject and no one solved my problem, so I need some help again. I try to lerp the movements of the others players, but the problem is that instead of "lerping" between the both last positions receveid, the object lerps between its postion and (0,0,0).I tried the CubeLerp script, the CubeInter script and every scripts available on internet but it never worked. Even if they said that they fixed this problem, it never worked for me. The GameObject has the same properties as the cubes in the "synchonisation demo scene". The only difference is that I instantiate it at the start with PhotonNetwork.Instantiate.

That would be so cool if I could finish my game before my holiday's end, and this is a big barrier to me!
Thank you

Viewing all articles
Browse latest Browse all 15755

Trending Articles