-
Notifications
You must be signed in to change notification settings - Fork 1
Home
David Möller edited this page Aug 2, 2020
·
3 revisions
Welcome to the gamepad-vr-simulator wiki!
To include this gamepad based VR simulator to you project, please do the following:
- Add Unity XR interaction toolkit and set it up as described here: https://docs.unity3d.com/Manual/configuring-project-for-xr.html; You will not need any of plug-in providers as we don't use any HMD hardware
- Include the new input system via Unity's package manager (for the gamepad input).
- Add both scripts to your project. Add ControllerControlController to a new empty game object somewhere in the scene and reference the XR rig's main camera and base controllers. Add editor controller simulator to both, left and right, base controllers.
- Run the project. Important note: You will have to manually re-enable the direct interactor scripts on the base controller. For some reason they are automatically deactivated.