[Unreal Engine 5.4] Top Down Shooter EP.22 - Look At Mouse Cursor v.2

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

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

  • @bujny-games
    @bujny-games  3 месяца назад +1

    WARNING!!! This version is well-suited when you only have the rotation of the spring arm around the Z-axis (strictly top-down perspective). However, it is not suitable for situations involving rotation around other axes.

  • @cyork-sy1wr
    @cyork-sy1wr 4 месяца назад +2

    This is so much better than the other ways I've seen but for some reason my character is aiming 90 degrees to the left of the mouse.

    • @bujny-games
      @bujny-games  4 месяца назад

      Hi, skeletal mesh or its source may not facing the forward vector (blue arrow which find if you open viewport inside your character class).

    • @cyork-sy1wr
      @cyork-sy1wr 4 месяца назад

      @@bujny-games Thanks for the reply. I checked and the character is facing in the right direction. My blend animations are working in the right way too but my mouse is just in the wrong place.

    • @bujny-games
      @bujny-games  4 месяца назад

      Check the camera's Z rotation; it may not have been subtracted from the target's.

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

      @@cyork-sy1wr Were you able to fix the issue?

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

      @@SubZer0Blaze Having the same issue, any fix?

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

    but what if im using -60 spring arm(camera boom) angle?
    i did everything by the tutorial and it broke my camera view(

    • @bujny-games
      @bujny-games  3 месяца назад +1

      hi, can you describe whole you rotator for spring arm? I will check and if there a bug I will make a short video with solution

    • @bujny-games
      @bujny-games  3 месяца назад +1

      This version is well-suited when you only have the rotation of the spring arm around the Z-axis (strictly top-down perspective). However, it is not suitable for situations involving rotation around other axes. for other situations I will release video soon also you can use now ruclips.net/video/oM58TNPHZy8/видео.html

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

      @@bujny-gamesi think it’s complicated to describe,maybe you have discord?

    • @bujny-games
      @bujny-games  2 месяца назад

      bujny#3004

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

    Could you use this for a 2D side scroller? I tried just changing the axis to the Y instead of the Z, but it doesn't seem to work

    • @bujny-games
      @bujny-games  3 месяца назад

      For side scroller You can use only way to detect mouse position to calculate angle, but way to apply it will be a little bit more difficult

  • @gevorkmirzoyan_
    @gevorkmirzoyan_ 4 месяца назад

    Не могли бы вы пожалуйста показать как сделать healthbar над NPC и то, как будет действовать урон персонажа на NPC - то есть урон по NPS и убийство NPS.
    Желательно, чтобы была возможность подстроить этот код под разные BPclass NPS (слабые, средние и сильные)
    Спасибо
    Could you please show me how to make a healthbar over an NPC and how the character's damage to an NPC will work - that is, damage to NPS and killing NPS.
    Preferably, it would be possible to adjust this code to different BPclass NPS (weak, medium and strong)
    Thanks

  • @sujivofigo4877
    @sujivofigo4877 4 месяца назад

    Can we replicated this game to mobile?

    • @bujny-games
      @bujny-games  4 месяца назад +1

      I didn't try to compile it to mobile for some time. But I have some parts in playlist about mobile controls for this game - ruclips.net/p/PL32YMM6O66N9ZCGD1mrqw__BcsxjZpkBt

    • @sujivofigo4877
      @sujivofigo4877 4 месяца назад

      @@bujny-games thanks 👍🏻