PositionSync

Description

This is a little example that shows how you can save the player’s position with persistence.

How it works

If you are standing on the ground, the script will save your position and rotation every 0.5 seconds. Upon receiving the persistent data from the server, it will return you to the position you originally found yourself in.

How to Use This Example

In Client

  1. join the world
  2. rejoin and you should be around the same position

In Editor
Add the prefab: PositionSync to the scene, and done.