VirtualBananas / vr-museum

1 stars 5 forks source link

A-frame "EnterVR" Icon doesn't show up #1

Open ralstonpl2 opened 8 years ago

ralstonpl2 commented 8 years ago

I'm getting all the A-frame elements to render to the page. However, the "Enter VR" icon is missing, so I can't view it in VR. I've already tried refactoring all A-frame elements to entity and scene React components supplied by aframe-react, but the "Enter VR" icon still doesn't show up.

I've also compared my aframe-react project to the aframe-react boilerplate (https://github.com/ngokevin/aframe-react-boilerplate), but I can't tell what I'm missing. I've included all necessary node_modules (aframe and aframe-react).

Strangely, when I add my A-frame elements to the aframe-react boilerplate (https://github.com/ngokevin/aframe-react-boilerplate), everything renders to the page properly and the "Enter VR" icon shows up. But I have no idea what's different between my code and the aframe-react boilerplate...

Why won't the "Enter VR" icon show up?

ngokevin commented 8 years ago

https://github.com/ngokevin/aframe-react-boilerplate/commit/dd3b46e8e714674ebed868a928721429a6407614