How to Synchronize Moving Objects in the Scene?

edited December 2019 in BOLT Engine
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

Sign In or Register to comment.