godot-xr-tools icon indicating copy to clipboard operation
godot-xr-tools copied to clipboard

Is it supporting HTML5?

Open Atem1995 opened this issue 2 years ago • 3 comments

Atem1995 avatar May 12 '22 06:05 Atem1995

The godot_xr_tools project is just some helper classes that work with an ARVR provider library such as godot_openxr (https://github.com/GodotVR/godot_openxr). I don't believe godot_openxr supports WebXR.

There's an article at https://www.snopekgames.com/tutorial/2020/how-make-vr-game-webxr-godot which explains how to build for webxr, and it uses the same ARVROrigin, ARVRCamera, and ARVRController that godot_xr_tools makes use of; so it has a good chance of working.

Malcolmnixon avatar May 16 '22 23:05 Malcolmnixon

XR Tools does work with HTML5 provided you also use the openxr asset as well as the instructions malcolm linked. A brief example can be found here: https://github.com/teddybear082/Godot-WebXR-Avatar-Test

With a playable demo here: https://teddybear082.itch.io/godot-webxr-avatar-test

teddybear082 avatar Sep 16 '22 18:09 teddybear082

Perhaps a WebXR export should be included as a demo in the project?

lunarcloud avatar Sep 26 '22 22:09 lunarcloud