We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am using following versions of aframe and aframe-react
"aframe": "^1.0.3", "aframe-react": "^4.4.0",
I am trying to render a gltf model -
<main> <Container className={classes.cardGrid} maxWidth="lg"> <Scene embedded> <a-assets> <a-asset-item id="earth" src="https://cdn.glitch.com/36cb8393-65c6-408d-a538-055ada20431b/Astronaut.glb?1542147958948"></a-asset-item> </a-assets> <a-box color="red" depth="2" height="4" width="0.5" position="0 0 -2"></a-box> <Entity gltf-model={{src:'#earth'}}></Entity> </Scene> </Container> </main>
but while the box is rendered, the gltf model does not get rendered. Could you please help?
The text was updated successfully, but these errors were encountered:
Here is a sandbox to recreate this issue -
https://codesandbox.io/s/aframe-react-porh5
Sorry, something went wrong.
I am having the same issue.
Hi, the issue is that you are using gltf-model like this: gltf-model={{src:'#earth'}} when it should be: gltf-model={"#earth"}
gltf-model={{src:'#earth'}}
gltf-model={"#earth"}
The same goes for your example gltf-model={{src:'#model'}} becomes gltf-model={"#model"}
gltf-model={{src:'#model'}}
gltf-model={"#model"}
(I moved a bit the sphere because the astronaut was inside of it)
No branches or pull requests
Hi,
I am using following versions of aframe and aframe-react
I am trying to render a gltf model -
but while the box is rendered, the gltf model does not get rendered. Could you please help?
The text was updated successfully, but these errors were encountered: