I am building a game with three.js library, and I want to have a small "panel" on the screen that will be immovable. I mean that the user will be able to navigate inside the 3D enviroment, but the panel will always be on the upfront of his screen (as if the camera movements do not affect it).
Here is an example http://icecreamyou.github.io/Nemesis/game.html <- this example has exactly what I want, a not-moving panel on the down left of the screen .
Although, I want this panel to have clickable object inside it, meshes for example, that I will click and a function will be called. In the example the guy uses a div element.
How can implement this? I checked the Sprite object but it is not clickable yet as I understand. Till now, I used to create clickable meshes, put them where I want and move them along when the camera moved, but this was not good enough because of the complexity of the camera movements.
EDIT Oh, an other thing I did not tell you is that I want this panel not to affect what's behind. I mean I want it to be transparent. Only the meshes that are there will be shown. I do not want the panel to hide anything behind it.