Triggered animations not synced
Options
Hi,
Does anybody know how to sync triggered event animations over Photon properly?
Animations which are triggered, such as attack etc don't always get synced over multiplayer. From what I've read it's likely due to the short duration of the trigger causing it not to get synchronised over the network. Here's a video example:
https://youtube.com/watch?v=CRR6a0_g0vU&feature=emb_title
I'm using the photon animator view script, and it works well for animations such as players walking, but not those which are triggered on a button click.
Does anybody know how to sync triggered event animations over Photon properly?
Animations which are triggered, such as attack etc don't always get synced over multiplayer. From what I've read it's likely due to the short duration of the trigger causing it not to get synchronised over the network. Here's a video example:
https://youtube.com/watch?v=CRR6a0_g0vU&feature=emb_title
I'm using the photon animator view script, and it works well for animations such as players walking, but not those which are triggered on a button click.
0
Comments
-
I sat the animation in the Photon Animator View to be discrete, and now it is synced every time.
BUT it's sent too many times. The animation is triggered like 4 times in the remote player like this:
[url="htthttps://www.youtube.com/watch?v=N-lRSg8C0vM&feature=youtu.bep://"]htthttps://youtube.com/watch?v=N-lRSg8C0vM&feature=youtu.bep://[/url]
What's going on here?0 -
I gave up with the photon animator view script - and just synchronized ints for each animation, I never could get the animator script working 100% (its down to timing, but was just to flaky.).
So in my public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info) script/area I just use a switch int for each animation, simple and it works 100%.0