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

HingeJoint2D sync.

$
0
0
Ragdoll (HingeJoint2D actually) is most important part of my game.
What is the best way to sync (smooth and accurately) objects, which bonded with HingeJoind2D?
I try lerp their positions/rotations to ReceiveNext() values, but it's jerking (especially when ping > 100).
But one more problem is that I have to use WebGL -> have to use WebSocketsSecure -> ping always > 100, so what can I do?
How can predict correct positions of my rigidbodies using ReceiveNext() values + ping?
How can I use ping to my advantage?


More problem: HingeJoint pulls bodies back of lerped values :(
I can turn off HingeJoints on (!photonView.isMine) but then the are scattering in different directions.
Help :(

Viewing all articles
Browse latest Browse all 15755

Trending Articles