How to Synchronize Moving Objects in the Scene?
Options
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...
Please help!
public class SyncedObject : Bolt.EntityBehaviour<IDynamicObjectState> { public void Awake() { state.SetTransforms(state.DynamicObjectTransform, transform); } }
Please help!
-5
Comments
-
Hello @AaronFrost ,
Have you followed our Getting Started tutorial? You can find it here: https://doc.photonengine.com/en-us/bolt/current/demos-and-tutorials/bolt-basics/bolt-102-getting-started.
Specifically on the chapter Bolt 103 - Properties & Callbacks it's shown how to sync the transform of a Bolt Entity.0