MAGES Device Manager¶
The MAGES Device Manager is located under Packages/MAGES-Core/DeviceManager.
Assets of Importance¶
Asset Name |
Description |
---|---|
MAGESControls.inputactions |
This asset, found in the Resources folder, utilizes Unity’s Input System to connect input bindings (buttons) to events. It is a crucial component for managing input interactions. |
MAGESInputController.asset |
This asset, also in the Resources folder, connects the input system with the rest of the MAGES SDK. It assigns references to InputActions (e.g., Select, Deselect) to MAGES events. |
Note
Here are the respective Paths:
Path: Packages/MAGES-Core/DeviceManager/Resources/MAGESControls.inputactions
Path: Packages/MAGES-Core/DeviceManager/Resources/MAGESInputController.asset
MAGESControls Configuration¶
Upon opening the MAGESControls.inputactions file, you will encounter the following UI:
It consists of 3 different sections:
Section |
Explanation |
---|---|
Action Maps |
The categories of the different Actions. You can create a new Action Map or delete an existing one. |
Actions |
The Actions that are included in the selected Action Map. You can create a new Action in the Action Map selected or delete an existing one. |
Action Properties |
The properties of the selected Action. |
If you want to learn more about the Unity’s Input System you can check it out in the Unity’s Documentation
Some worth mentioning Actions are the following:
Actions |
Explanation |
---|---|
Select and Activate: |
|
Actions |
Explanation |
---|---|
Snap Turn and Smooth Turn: |
|
Actions |
Explanation |
---|---|
Change Height and Move |
|
MAGESInputController Configuration¶
The MagesInputController asset can be customized to link events to the Actions inside the MAGESControl Input System.
You can also enable/disable specific categories of Events, specifically:
Generic Events
Locomotion Events
Interaction Events
Camera Manual¶
The camera mode settings in MAGES-NXT are located in the MAGES Panel/Hub Settings, specifically under the Device Manager module. Follow the steps below to access and configure the camera mode:
Navigate to MAGES Panel/Hub Settings.
Locate the Device Manager section.
Find the Camera Mode setting.
Available Camera Modes¶
UniversalXR:
Description: UniversalXR is the currently supported mode, serving as the generic VR mode.
Note: Upon selection, it may list missing dependencies. Install any missing dependencies as prompted.
XR Plugin and VR SDK Configuration¶
After installing the XR Plugin, proceed to select the specific VR SDK you intend to use.
Navigate to
Edit > Project Settings > XR Plugin Management
.
Select the desired VR SDK (e.g., Oculus VR SDK) from the available options.
Camera Configuration in MAGES-NXT¶
In MAGES-NXT, cameras and controllers are configured automatically at runtime. There is no manual configuration required. The system handles the setup dynamically, ensuring seamless integration with the selected camera mode and VR SDK.