Transform Synchronization¶
Some multiplayer games may have objects whose location has to be synchronized, but do not perform complex movement, either following a very simple movement pattern or teleporting to new locations.
For complex movement, Movement Synchronization is required. However, for simpler movement, Strix provides a component for the transform synchronization.
The Strix Transform Sync Component¶
The Strix Transform Sync component attaches to any Actor with a Strix Replicator Component.
The component synchronizes the rotation, translation, and scale properties of the Actor with its replicas. Updates are performed with every tick of the attached Strix Replicator Component.
The Strix Transform Sync component is appropriate for objects that teleport or move in straight lines at slow speeds. It does not perform any interpolation or prediction, and also does not change object velocity, so free moving objects should not be synchronized with this Component. The advantage of this component is simplicity and reduced performance overhead.