supermedium / aframe-react

:atom: Build virtual reality experiences with A-Frame and React.
https://ngokevin.github.io/aframe-react-boilerplate/
MIT License
1.42k stars 151 forks source link

Issue with text-component not being rendered #66

Closed aurbinaUCF closed 7 years ago

aurbinaUCF commented 7 years ago

Hello, Im trying to put some text on my aframe-react project but the following:

<Entity bmfont-text={{text: 'HELLO WORLD'}} position="{[0, 1, -5]}"/>

Does nothing... I have the components imported as necessary and I dont receive any errors.. it just does not render. I have also tried this with the standard text-component as part of kframe. Same result.

jbreckmckye commented 7 years ago

Which version of aframe are you bundling? I had the same issue when using aframe-v0.5.0.min.js - see here.

jhsu commented 7 years ago

@aurbinaUCF are you using aframe 0.5? you can use built-in text component which uses value: text={{value: 'HELLO WORLD'}}

aurbinaUCF commented 7 years ago

Yes sorry, Ive been busy. I am using 0.5.0, the problem ended up being that the opacity for some reason was defaulted to 0.

natesena commented 6 years ago

I am having the same issue and have played with opacity. Currently using 0.7.1