NeoSpark314 / godot_oculus_quest_toolkit

An easy to use VR toolkit for Oculus Quest development using the Godot game engine
MIT License
372 stars 39 forks source link

The identifier "vr" isn't declared in the current scope #37

Closed Lucaspec72 closed 4 years ago

Lucaspec72 commented 4 years ago

I'm sure i'm just using it wrong but what did i mess up ? while i'm here i might as well also ask, how much of the toolkit is actually needed and what is just demos (what do i need to keep to have a clean project)

NeoSpark314 commented 4 years ago

You need to add an autoload to your project (in the project settings); select the vr_autoload.gd file and name it vr for the toolkit to work. See step 4 here: https://github.com/NeoSpark314/godot_oculus_quest_toolkit/wiki/Tutorial-02-Basic-Project

The actual toolkit is in the OQ_Toolkit subfolder; the rest of the folders are not necessary to use the toolkit but depending on your setup could be convenient to keep as else you need them from a different source (for example bin contains the export templates; the addon folder contains the oculus mobile plugin and the demo_scenes and demo_games folder contain what the name implies)

Lucaspec72 commented 4 years ago

oh ok thanks

NeoSpark314 commented 4 years ago

no problem; feel free to open another issue if you run into problems; if you have questions along the way you could also join the godot discord #xr channel as there it is quite eqasy to discuss things.