Creating an Enemy Wander AI (Unity Tutorial | 2D Top Down Shooter)

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

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

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

    YEah new video!

  • @rektangulus
    @rektangulus Год назад +1

    HI KETRA! would you be willing to make a video soon explaining state machines and refactoring script? im getting overwhelmed with the 3rd person platformers script hahah

  • @elsheshar999
    @elsheshar999 Год назад +1

    Nice videooooooooooooooooooooooo

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

    For everyone who, just like me, tried using * operator between _targetDirection and rotation in HandleRandomDirectionChange() and got an error: U should multiply in the same order as in this tutorial.
    In real maths it doesn't matter whether U do 'a*b' or 'b*a'. For vectors, though, this rule does not work
    In programming U may think that it doesn't matter. And in most cases U will be right, BUT! It depends on the way the operator * is defined for given types. And in case of Quaternion U can use * between Quaternion and Vector3/Vector2, but U can't use it between Vector3/Vector2 and Quaternion. Order matters! =D

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

      Thanks for sharing 😊
      It does seem a bit strange you can't do this the other way around but apparently this is a standard convention for Quaternion mathematics

  • @XHuntinatorX
    @XHuntinatorX Год назад +4

    Has anyone else noticed that this is an AI voice?

    • @WorstDeveloper
      @WorstDeveloper Год назад +2

      I would have never known if you didn't say that.

    • @rexmon2592
      @rexmon2592 Год назад +2

      that's crazy, i never noticed

    • @KetraGames
      @KetraGames  Год назад +2

      😂 This is my actual voice! You should hear the outtakes! But thanks 😊

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

      @@KetraGames That's funny. You have a very clean and professional voice, at least when we don't get to hear the outtakes lol. I guess that's why they thought it was an AI.

    • @XHuntinatorX
      @XHuntinatorX Год назад +2

      @@KetraGames That’s exactly what an AI voice would say… lol

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

    is anyone having trouble with r CS0104: 'Vector2' is an ambiguous reference between 'UnityEngine.Vector2' and 'System.Numerics.Vector2'