GodotVR / godot_openvr

GDNative based Open VR module
MIT License
227 stars 35 forks source link

"Using OpenVR overlays" Are there any related tutorials or examples available? #150

Open TitansWhale opened 1 year ago

TitansWhale commented 1 year ago

I am a beginner in Godot, and I followed the Using OpenVR overlays tutorial step by step to implement the OpenVR overlay feature and add a 2D scene to the viewport. However, I did not see my 2D scene in SteamVR's home environment. I am not sure what I did wrong. The only difference between my project and the tutorial is that I commented out arvr_interface.get_render_targetsize() because $viewport is null in _init(). image

The following repository contains my code : godot_openvr_overlay_test

beniwtv commented 1 year ago

You'll definitively want to make sure you have a size set in the viewport that is being used as the overlay - also your overlay, depending on settings might be tracking "inside" your head - might need to move it in 3D space.

TitansWhale commented 8 months ago

You'll definitively want to make sure you have a size set in the viewport that is being used as the overlay - also your overlay, depending on settings might be tracking "inside" your head - might need to move it in 3D space.

thanks