How to Synchronize Moving Objects in the Scene?

Options
AaronFrost
edited December 2019 in Photon Bolt
The position of moving objects that I have placed in my scene are not synchronized across both players. I have made these objects entities and added this script to them. Still, they aren't synced...


public class SyncedObject : Bolt.EntityBehaviour<IDynamicObjectState>
{
    public void Awake()
    {
        state.SetTransforms(state.DynamicObjectTransform, transform);
    }
}



Please help!




Comments