Hi,
I try to avoid using NetworkTransform to make my character move on the network, before with Photon i used to use a Serialization method wich worked like a charm, now when i transpose the exact same code:
The vars are not serialized properly, in fact it sends the update at the begining of the movement and one more time at the end. i think i tried a lot of things to make it work with no success until i found that i could add :
in my update to force...
How to make the OnSerialize send each time the vars are changed ?
I try to avoid using NetworkTransform to make my character move on the network, before with Photon i used to use a Serialization method wich worked like a charm, now when i transpose the exact same code:
The vars are not serialized properly, in fact it sends the update at the begining of the movement and one more time at the end. i think i tried a lot of things to make it work with no success until i found that i could add :
Code (CSharp):
- SetDirtyBit(1);
How to make the OnSerialize send each time the vars are changed ?