AnnaBruel

Members
  • Content Count

    11
  • Joined

  • Last visited

  1. Maybe, this way: width = mesh.geometry.extend.maximum.x-mesh.geometry.extend.minimum.x
  2. Whaou, Exactly what I wanted. I am going to study how you made. Thank you very much
  3. Hello everyone, I'd like to make drag n drop on meshes keeping the link between meshes, like in this example (https://www.babylonjs-playground.com/#17EGSU#8). I don't know how to set the position of curve ? -> Maybe, with https://doc.babylonjs.com/how_to/how_to_dynamically_morph_a_mesh, and the example https://www.babylonjs-playground.com/#1UZIZC#6, but I don't understand why position table is so big, and to set from mesh position ? Thank you
  4. Thanks you very much. The easiest solution is one of John K, but with th SinhNQ solution, we can make some effects : https://www.babylonjs-playground.com/#165IV6#232
  5. How to color line ? I tried to use the option colors of CreateLines, but it doesn't seem to work. Maybe, I forgot something https://www.babylonjs-playground.com/#165IV6#228
  6. I don't think create a new variable. Thanks for all
  7. Hey, I would like to know where is stored advancedDynamicTexture in babylon environnment. For example, all the meshes are stored in the scene at the "meshes" property. I want to play with the Babylon gui ;).
  8. Thank you very much, the first one works. I thought to the second solution, but I would like to exactly position it. Maybe using padding property like in the example : https://www.babylonjs-playground.com/#XCPP9Y#14, but it doesn't work. I think because of " CreateFullscreenUI" mode.
  9. When the text isn't in center on transparent plane, we can't see the text. I would like the same opacity between the two texts. Have you some idea, please ? https://playground.babylonjs.com/#8WC0U7 -I tried to put a light on the side, it doesn't work -I tried to raise the altitude of the text, but the text will be very far from the plane
  10. Thanks for yours solutions. It works. Moreover, if you apply a texture with alpha = 0 on the plane, the background doesn't appear and the contour appears with the color, you have chosen. https://playground.babylonjs.com/#CY31UX#14
  11. I use AdvancedDynamicTexture and textBlock to write text on a plan. There is a black contour around the text. I would like change this color or remove it. I tried : https://playground.babylonjs.com/#CY31UX#4