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

error upon opening inspector, can't invert matrix, determinant is 0. DirectionalLightHelper has scale 0 if direction has a 0 #524

Closed ngokevin closed 5 years ago

ngokevin commented 6 years ago

Fixed by doing setting position="1 1 0.0001" for directional light, but we should handle because that's the default directional light without a position set.

autuus commented 6 years ago

Fixed by turning off warnings from console (lol)

aas395 commented 6 years ago

I also get this if I try to set any of the values of the scale property of an entity to 0 using the animation component. Setting each value to a number above 0 stops this

Mazertula commented 6 years ago

@ngokevin I have the same issue using animation on scale to 0. workaround : scale to 0.0001.

ngokevin commented 5 years ago

This is just a three.js thing. Don't set any scales to 0. Set to 0.00001