UE5 VR GUN SYSTEM TUTORIAL PART 5 | SECONDARY GRAB, RECOIL & LOGIC

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

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

  • @NB-qq8wo
    @NB-qq8wo 11 месяцев назад +2

    Another AMAZING tutorial by Yaro! Thanks for sharing your talents with us! 🙏

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

    Another common Yaro W

  • @baarg8672
    @baarg8672 3 месяца назад +2

    37:18 - _[be aware]_ - that node still contains data about main grip controller since its not CLEARED after last usage.
    37:31 - _[Disabling Collision Response]_ - not seeing any changes of it's usage.
    37:36 - _[My results of Testing at this point]_ -
    ISSUE-1: _"Secondary Grip" can Grab without MainGrip._
    SOLUTION: Use Set `MainGripMotionController` to CLEAR the variable at the end of "On Dropped" event of `MainGrabComponent`.
    ISSUE-2: _"Secondary Hand Mesh" is remaining stuck to the `GunMesh` if `MainGrabComponent` is "Dropped" earlier._
    SOLUTION: in "On Dropped(SecondaryGrabComponent)" wire "is not valid" signal to the same input of "valid" signal.
    ISSUE-3: _Handgun is offsetting after secondary grip is "Dropped"._
    SOLUTION-A: Use Restoring only for GunType != "Handgun".
    SOLUTION-B: query (with `print string`) relative rotation of `GunMesh` before Secondary Grip is "Dropping" and use that values for setting its *Delta Rotation* values in `Add Relative Rotation` node.
    37:44 - _[NOTE]_ - We can switch `GunType` to "AssaultRifle" in the `OnGrabbed(SecondaryGrabComponent)` to test two handed mechanics on the "handgun" and to understand context at that moment 8-) UPD: Actually Yaro explained it here xD 47:21
    in other words - `MainGrabController` - should be the parent of the gun only by position, but child by rotation.
    46:17 - _[My Results at this moment]_ -
    ISSUE-4: _Secondary Hand becomes flipped when releasing with Main Hand_
    ISSUE-5: _"HandMeshes" shifting from its original placement every time gun is transitioned to other hand_ (you can test it by compering alignment of your hands placed close together before and after)

  • @enesaytekin5827
    @enesaytekin5827 5 месяцев назад

    Thanks Yaro... You are King :)

  • @InnerspaceX
    @InnerspaceX 11 месяцев назад

    Thanks for this part too. I think most of people here for see it with M4 rifle :)

    • @yaroxr
      @yaroxr  11 месяцев назад

      It is done, right click and make child blueprint and replace the meshes, collision spheres and default variables, no need to code anything

    • @yaroxr
      @yaroxr  11 месяцев назад +1

      Will post a video tomorrow how to do it

  • @SilentJinxStudio
    @SilentJinxStudio 11 месяцев назад

    leaving good comment here lol. So can we learn how to indivudually add a bullet to a mag by hand. with ammo boxes aswell like into the radius

    • @yaroxr
      @yaroxr  11 месяцев назад +1

      I will definitely do it in the future, for now I am stopping doing guns, gonna shift towards different things, so I am sorry if it can’t be covered now(

    • @SilentJinxStudio
      @SilentJinxStudio 11 месяцев назад

      @@yaroxri look forward to it

    • @yaroxr
      @yaroxr  11 месяцев назад +1

      @@SilentJinxStudio i think it can be done in 10 minutes actually, you can text me on discord, I can show you 1 on 1. I thought about this and it is easy with the setup I have now