Skip to content

A simple toggle to run with VR enabled or not, from the editor.

License

Notifications You must be signed in to change notification settings

decacis/Godot-XR-Toggle

Repository files navigation

Godot XR Toggle

The Godot XR Toggle is a simple toggle to run with VR enabled or not, from the editor.

This repository also includes an example of a project that can run VR and non-VR, thought the main focus is the XR Toggle plugin.

Installing

You can add this plugin to your project using the Asset Library. Alternatively, you can download it from the GitHub releases page and just place it into your project.

Once you put the files in your project, head on to the Project Settings -> Plugins and enable the plugin there:

enable-plugin

After enabling the plugin, you'll see the XR Toggle on the top right of the screen:

toggle-location

Force toggle XR when exporting

You can force XR being enabled/disabled when exporting for certain platforms. This is useful because when you are in the editor, you could have the XR Toggle disabled, but when exporting for the Quest (android) you want to have OpenXR always enabled, so you can add the platform to the "Platforms Force Mode" section like this:

plugin-settings

About

A simple toggle to run with VR enabled or not, from the editor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published