Making projectiles hit moving targets in a game

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

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

  • @randomjimbitz512
    @randomjimbitz512 2 месяца назад +1

    Your channel needs to be pushed on the algorithm wayyyyy more... I will be posting your channel in all the places. great work! and much appreciated

    • @octodemy
      @octodemy  2 месяца назад

      Thanks o/. Glad you are liking it.
      I really appreciate any help.

  • @Simple_Fox
    @Simple_Fox 5 месяцев назад +3

    This is something I've needed for a long time, this makes it so easy to digest and understand. Absolutely HUGE! Amazing work!

    • @octodemy
      @octodemy  5 месяцев назад +1

      Thanks for that :)
      I still struggle quite a bit with words and making the pacing of the video feel natural.
      So I'm glad to hear you could understand it well.

  • @ashharkausar413
    @ashharkausar413 4 месяца назад +1

    Brilliant!

  • @BlancSal
    @BlancSal 25 дней назад

    Very good tutorial. My only issue is that my player node keeps getting the arrow reparented to itself instead of a different node with a collider. I even changed to layer of the arrow to 2 but the player collider keeps getting in the way.

    • @octodemy
      @octodemy  24 дня назад

      Thanks. You need to change the collision MASK to indicate what the arrow sticks to.
      The "on_body_entered" signal is only called when the arrow collides with things that has collision layers which the arrow's has in its collision MASK.
      Sounds a bit confusing. but think of the collision mask as the things that will generates the collision signals for that node when a collision happen.
      The collision LAYER of the arrow does nothing for this, it just indicates what the arrow IS, in case other things want to collide with the arrow, using their masks.