This document is about: FUSION 2
SWITCH TO

Extended Rig Selection


Available in the Industries Circle
Circle
Fusion Industries prototyping Addons

Extended Rig Selection

This module allows to specify and select the local rig that is enabled at runtime. When the rig selection is done, the connexion handler is enabled : if it contains a ConnectionManager, and the selected rig as a custom rig, the ConnectionManager.userPrefab will be replaced by the specific NetworkRig.

Rig Description

According to your use case and supported hardwars, you may need to use several kind of rigs in you application. This module allows you to add these rigs to a list of RigKindDescription.

A rig has several parameters described into the RigKindDescription structure : - a name, - a list of game object that will be enabled if the rig is selected, - a bool to set if a specific prefab must be used (only relevant if a connexion manager is present on the connexion handler) - an optionnal specific network rig prefab,

How rig is selected

There are several options regarding the rig selection :

  • the user selects the rig at startup using UI buttons,
  • the rig is automatically selected using the user's preference file,
  • the rig is forced to a specific value between the RigKindDescription,
fusion meeting extended rig selection

Editor buttons let quickly define the selection mode and associated parameters. For example, it will write the user's preference file if a Use Rig with preference Selection button is pressed or set the Forced Kind Name field if the selection mode is set to Forced Value

Please note that if the forceVROnAndroid bool is set to true (default), the VR rig will be always used on Android, no matter the settings.

Dependencies

  • ConnexionManager addon

Demo

A demo scene can be found in Assets\Photon\FusionAddons\ExtendedRigSelection\Demo\Scenes\ folder.

Three differentes Rig can be selected using the ExtendedRigSelection editor's button :

  • VR Rig associated with a cube,
  • Desktop Rig associated with a sphere,
  • no Rig with no associated object.

Download

This addon latest version is included into the addon project

Supported topologies

  • shared mode
  • host mode

Changelog

  • Version 2.0.3:
    • Add the option to auto install ia rig on some platforms (unless force selection is choosen)
    • Add PlatformSpecificMaterial
  • Version 2.0.2: Fix to register objects with INetworkRunnerCallbacks interface on the runner (if the runner is disabled)
  • Version 2.0.1: Add hardwareRig detection
  • Version 2.0.0: Fusion 2.0 support
  • Version 1.0.2: Namespace modification
  • Version 1.0.1: Add demo scene + add namespace
  • Version 1.0.0: First release
Back to top