question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

a-collada-model - model does not appear

See original GitHub issue

I’m trying to run the “Anime UI” example from aframe on aframe-react, but I’m unable to load engine.dae. It just does not appear.

My Scene contains the following code:

<a-assets>
  <a-asset-item id="engine" src="models/engine.dae" />
</a-assets>

<Entity primitive="a-entity" position="1.75 0 1.2" rotation="0 28 0">
  <Entity primitive="a-camera" near="0.1" user-height="0" />
</Entity>

<Entity primitive="a-entity" position="0 0 -3">
  <Entity primitive="a-collada-model" src="#engine" rotation="90 0 0" scale="18 18 18" />
</Entity>

Can anyone please tell me what I’m doing wrong and why the model is not appearing.

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
anton6commented, May 19, 2017

Thanks for pointing me in the right direction. Turns out I just had to put the models folder into public folder.

1reaction
ngokevincommented, May 19, 2017

Try moving the model folder relative to the index.html file?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Collada model faces not displaying correctly in three.js
After importing a collada model into three.js, some of the model's faces are only visible from the inside of the model and not...
Read more >
Collada model does not load · Issue #1731 · mrdoob/three.js
Hi, I'm trying to display a collada model, but I can't load it with Three.js. I succeed to load the same file in...
Read more >
Using a COLLADA Model - Coppelia Robotics forums
Hello, when you import a mesh, you import a raw mesh, that is not optimized for visualization nor for simulation. In your case,...
Read more >
How do I modify a COLLADA model? - ROS Answers
Hi, I'm modeling a robot and using the meshes that are available at nxt_description. But I noticed that 3707.dae mesh is not centered...
Read more >
How do you properly format a Collada model for the 3D ...
Hello, I have a collection of models made in openflight. I used Open Scene Graph to change them all to Collada 1.4.1. All...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found