Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Problem with Sync position players (during bézier)

$
0
0
Hello,

In my game it's possible for the player to use a Jumper to go from a position to another via a curve (I use a curve of Bezier).

When the local player is using the jumper everything is going fine : He is following the curve perfectly.

But my problem come when someone is watching him taking the jumper : He is doing the curve but totally not perfectly like if the gravity was stronger than the curve :

Here is the video
Here the code of my Jumper

I tried to disable the gravity and synchronise it between all the players.
I tried to use the photonnetwork.time instead of Time.time
I tried to check theposition on the sender and receiver and they are the same .

So i have no idea where could the problem come from.

Regards

Thibault Coutaz

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>