typpo / spacekit

Javascript library for 3D space visualizations
https://typpo.github.io/spacekit/
MIT License
521 stars 39 forks source link

Labels dont' show properly for objects without ephem #56

Closed alfongj closed 2 years ago

alfongj commented 2 years ago

const asteroid = viz.createObject('Asteroid', { position: [3, 1, -5], labelText: 'My asteroid', textureUrl: planets[0].img });

This will not show the label over the asteroid

Same happens with createSphere

Note: this issue only happens if the simulation is not paused