rigconfigurator - eisclimber/ExPresS-XR GitHub Wiki

RigConfigurator

Class in ExPresSXR.Rig

Inherits from System.Object

Summary

Acts as a central location from which the player can teleport to other locations. This is especially useful if the other locations are far away or there is no line of sight, as regular teleports would not be possible in this case.

It provides functionality to hide/show certain objects when teleporting or the player is not present.
You will usually want to add a PlayerDetector control SetPlayerPresent() with its Events. Otherwise the visibility of _playerPresentVisibleand its children will not be affected.

The default prefab also allows teleportation at the MapPoint itself, indicated by the white are on the floor.

public static class RigConfigurator

Methods

Name Description
ApplyConfigData(ConfigData) Applies both the interaction options and the movement preset to the rig.
ApplyInteractionsOptions(ConfigData) Applies only the interaction options to the rig.
ApplyMovementOptions(ConfigData) Applies only the movement options to the rig.
ApplyMovementOptionsHands(MovementOptions,HandControllerManager) Applies the movement options on hand controllers.
ApplyMovementOptionsLocomotionMediator(MovementOptions,LocomotionMediator) Applies the movement options on the LocomotionMediator.
ApplyMovementPreset(ConfigData) Applies only the movement preset to the rig.
ApplyPresetHands(MovementPreset,HandControllerManager) Applies the movement preset on the hand controllers.
ShouldApplyMovementPreset(MovementPreset,InputMethod) Checks if the movement preset should be applied, based on the input method and the movement preset itself.
⚠️ **GitHub.com Fallback** ⚠️