Avatar Setup

Avatar Registration

Note: Ensure that FishNet and XumNet are installed in the project beforehand.

  1. In the RPlayerSpawner Inspector:

    1. Add the following components

      1. XumNetwork

      2. XumNetSpawner

  2. In the XumNetSpawner Inspector:

    1. Download the MotionSystemNetworkManager package and install it.

    2. Assign the MotionSystemNetworkManager to the Player Prefab field from Assets/App/Prefabs/Avatar

    3. Create a GameObject for the player position in the scene, then assign it to the Player Position field in the Inspector.

  3. (Optional) If using shared objects:

    1. Add their prefabs to the Object Prefabs list in the Inspector.

    2. Create a GameObject for the object position in the scene, then assign it to the Object Position field in the Inspector.

  1. In the MotionSystemNetworkManager Inspector:

    1. Register the avatar prefab Xbot_networked_NameTag under the Avatar field from from Assets/App/Prefabs/Avatar/Humanoid


Platform-Specific Motion System Settings

Depending on your target platform, motion tracking setup will differ.

  1. Copy the following prefabs into any folder within your project's Assets directory fromPackages/Unified XR Motion/Assets/Prefabs

    1. TreePointsFullBody

    2. UntrackedFullBody

  2. Double-click the MotionSystemNetworkManager (Player Prefab field).

  3. Assign the appropriate prefab to the Prefab Motion field based on platform:

    1. Windows (Non-tracking desktop environments)

      1. Assign: UntrackedFullBody

    2. 3D VR/AR Devices - Oculus/VisionPro

      1. Assign: ThreePointsFullBody

      2. Double-click ThreePointsFullBody > TrackingSystem

      3. Add the following three components as below.

        1. Unity HMD Tracking

        2. Unity XR Controller Tracking

        3. Unity XR Hands Tracking

    3. 3D VR/AR Devices - XREAL

      1. Assign: ThreePointsFullBody

      2. Double-click ThreePointsFullBody > TrackingSystem

      3. Add the following component.

        1. XREAL Hand Tracking

Last updated