I am writing a game. By clicking on the arrow moves the character, and with it the camera. You need to implement a HUD, which is Pane at the bottom of the window, which contains some elements. How can this be implemented so that the element is "attached" to the camera? (give an example)

Example - Dota 2 game

  • It means that the element located on the panel as it moves should leave the view? (if possible, please describe the question in some detail. Maybe even with pictures). Or attach a sample code describing how it is and how it should be. - Alexander Savostyanov
  • @Alexander Savostyanov is not, the element, just the same, must be "attached" to the camera, so that regardless of its global position, it always remains in one place relative to it. - TrueASL 9:32 pm
  • one
    Well, is it possible not to help the dota fan? Here you googled a page for you. By the way, official documentation, and specifically on your topic (do not forget to first search for yourself) - Alexander Savostyanov
  • @ AlexanderSavostyanov thank you very much! This is exactly what you need! - TrueASL

0