Synchronization of position

I found that the synchronization mode of the components I use is drag to trigger the move, because I have a script for the object to move, how can I change it so that all the objects in the scene automatically synchronize their positions all the time?

Original Post on Discord

by user 1152179091513024552

Hi, i assume you are asking for synchronizing the position over network to multiple users visiting your website

The synchronization is done by a component call SyncTransform. You can add this component to all objects in your scene and the moving client needs to request ownership to be allowed to move the object (there is a method on SyncTransform to do that)

Just be aware that if you have a lot of objects moving at the same time this might become slow on the default free networking server running on glitch.