aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
654 stars 201 forks source link

Spot lights' gizmo is incorrectly rotated in the X axis #557

Open zomboh opened 6 years ago

zomboh commented 6 years ago

Given a very simple scene:

    <a-box color="red"></a-box>
    <a-entity
      light="type: spot; angle: 30"
      position="0 2 0"
      rotation="-90 0 0"
    ></a-entity>

The inspector shows this:

spotgizmo

The gizmo should be facing -Y, as the lit box's face shows, but instead it's looking at +Z.