Dreik

Members
  • Content count

    12
  • Joined

  • Last visited

  1. Dreik

    Missing Grid in Babylon GUI

    Any idea when will 3.3 come out as npm node module?
  2. So I've just noticed that I don't have Grid in BABYLON.GUI module. https://doc.babylonjs.com/how_to/gui#grid Was it added in 3.3.0 ? I'm using 3.2.0 babylon and babylon gui.
  3. So ultimately I've went with slightly worse idea. I created 2 engines and 2 canvas overlaying. It works great now.
  4. I understand these. @Deltakosh I know that the plane is over. My question is can I somehow ignore the plane and pick cube without ignoring button too?
  5. If you look at this https://www.babylonjs-playground.com/#UHSQB9#3 you can see that you can press only on object that are visible in camera that is at index 1 of scene.activeCameras.
  6. I've just encountered another problem. If I have 2 cameras with set layers and I push them to scene only one camera will handle the picking. So If I push camera that watches the cube 1st then I can interact only with plane that is attached to camera or cube. If I push another camera 1st I can interact only with objects visible in this camera and buttons that I places on the plane attached to camera watching cube aren't dispatching any events.
  7. Not really. The code is quite vast. All I can do is provide you with the setup of gui and mesh. And as you can see you can press button but can't press cube. https://www.babylonjs-playground.com/#UHSQB9
  8. So I am working on cube view and I've encountered problem I can't solve. If you look at the screen I'm creating 4 arrows on GUI, these are created on Plane that is attached to camera watching the cube. The problem is if plane is pickable I can't press on cube. But If plane is unpickable these arrows (buttons) aren't pickable. So I'd like to make them pickable but trun off plane pickability. Is that possible?
  9. Dreik

    React-cubeview like extension

    Thanks, I already got to the same part as you did. Now I'm working on rotating both camera depending on which face was clicked.
  10. Dreik

    React-cubeview like extension

    Thank you for information. Looks like I will have to make it myself.
  11. Hello, I'm looking for module that would work for babylonjs like https://www.npmjs.com/package/react-cubeview works for threejs. Of course I tried to search for it myself but with no luck so now I hope some of you might have encountered similar module.