• Content Count

  • Joined

  • Last visited

  1. AnnaBruel

    How to get height and width of a mesh?

    Maybe, this way: width = mesh.geometry.extend.maximum.x-mesh.geometry.extend.minimum.x
  2. AnnaBruel

    How to update points of bézier curve ?

    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 ( I don't know how to set the position of curve ? -> Maybe, with, and the example, but I don't understand why position table is so big, and to set from mesh position ? Thank you
  4. AnnaBruel

    How to color line in Babylon js ?

    Thanks you very much. The easiest solution is one of John K, but with th SinhNQ solution, we can make some effects :
  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
  6. AnnaBruel

    Where are stored advancedDynamicTexture ?

    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 :, 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 ? -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.
  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 :