UE5 Function Series - Finding the Closest Actor of Class

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 9

  • @mrvizier7788
    @mrvizier7788 3 месяца назад

    I have a problem like this. Let's say the location of the actor closest to me changes. However, the location is not updated then. It always stays in the location where the game started.

  • @suetologoHasanskiy05
    @suetologoHasanskiy05 10 месяцев назад

    omg, thank you so much! You helped me a lot! THANK YOU!

  • @driftmirror
    @driftmirror Год назад +5

    Isn't there a "Find Nearest Actor" node that already does this work? It takes in an Origin (like the player or other actor location) and an Array like you get at the start of your custom event.

    • @beachkiller738
      @beachkiller738 8 месяцев назад

      Thank you for sharing your knowledge of such a great feature ❤

    • @mrvizier7788
      @mrvizier7788 3 месяца назад

      I have a problem like this. Let's say the location of the actor closest to me changes. However, the location is not updated then. It always stays in the location where the game started.

    • @driftmirror
      @driftmirror 3 месяца назад

      @@mrvizier7788 How are you storing that location information? In a variable? You need to run the Find Nearest Actor again to update the information and re-set the variable, it won't update it on it's own.

    • @mrvizier7788
      @mrvizier7788 3 месяца назад

      @@driftmirror Thank you for your great answer but can you explain how i run again Find Nearest actor? Can you do that and take ss for me? I am a little bit new for this

  • @sarahanifezade382
    @sarahanifezade382 Год назад

    Please make more videos ,you explain very well 👌

  • @GameDeveloper313
    @GameDeveloper313 Год назад

    Amazing tutorial, Thank you very much, I have a question though, how can I choose the next index in line, like picking the second closest thing or the third. Thank you very much