Skip to main content


This topic contains 2 replies, has 2 voices, and was last updated by  bearhead 2 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #250480


    I’m trying to learn A-frame, but I cannot figure out how to get entities to render. I have no problem getting objects like <a-box> or <a-sphere> to render, but if I use an <a-entity> and define its geometry as a primitive nothing shows up.

    Even stranger, if I create an entity in the inspector it works as expected.
    I even tried copy-pasting entities out of example files, but they still won’t work for me. Here is an example:

    Anyone know what I might be doing wrong?



    Move the JavaScript <script> tag for A-Frame to above your scene. CodePen adds it to the bottom of the body by default, which doesn’t work for A-Frame because it uses Custom Elements.



    ok thanks, that’s good to know :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-link icon-logo-star icon-search icon-star