Star Wars in UE5 Tutorial Series! #9 - Hit Detection

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024
  • Learn how to implement hit detection in your Star Wars game using Unreal Engine 5 in this tutorial series. Perfect for game developers and those interested in game development!
    Mastering The Unreal Galaxy: Star Wars in UE5 Tutorial Series! #9 - Hit Detection
    Welcome back to Stargames Studio's Unreal Engine 5 tutorial series, where we dive deep into creating your own epic RPG game set in the Star Wars universe! In this ninth installment, we focus on mastering hit detection for lightsaber combat, a crucial element in creating an immersive Jedi experience.
    🎮 What to Expect:
    Learn the intricacies of lightsaber combat in UE5.
    Implement lightsaber hit detection for a realistic gaming experience.
    Explore the vast possibilities of RPG game development in Unreal Engine 5.
    Subscribe now to Stargames Studio for more exciting tutorials on game development, and may the Force be with you as you create your own Star Wars RPG masterpiece!
    Download TH-cam Package #4 : stargamesstudi...
    DISCORD: / discord
    If you enjoy this video, please consider supporting me 🙂
    I was hoping you could buy me a Coffee:ko-fi.com/drag...
    Buy me a Beer: Cash App $Stargames66

ความคิดเห็น • 27

  • @RogerWilcoGames
    @RogerWilcoGames 2 หลายเดือนก่อน +1

    For those that want to implement an equip lightsaber from the belt, I would recommend creating the arrows for the sphere trace on the lightsaber blueprint as opposed to in the third person character (X2) blueprint. If it is created on the X2 BP then the arrows won't follow the saber from equip to combat idle or whatever your animation is for when the saber is equipped.

    • @stargamesstudio66
      @stargamesstudio66  2 หลายเดือนก่อน +1

      Thank you for that information. I appreciate it. 👽

  • @wickeddelight4k
    @wickeddelight4k 2 หลายเดือนก่อน +1

    just discovered your channel and have enjoyed the videos so far. Keep up the great work.

  • @TsingYiTube
    @TsingYiTube 6 หลายเดือนก่อน +1

    how to slice the target into 2 pieces according to how the sword hit the target ? and add hot melting effect to the wound ?

    • @stargamesstudio66
      @stargamesstudio66  6 หลายเดือนก่อน +1

      That’s for a future video 😄

    • @TsingYiTube
      @TsingYiTube 6 หลายเดือนก่อน

      @@stargamesstudio66 thanks a lot for your reply and tutorials 😘

    • @stargamesstudio66
      @stargamesstudio66  6 หลายเดือนก่อน

      You’re welcome ☺️

  • @JustDoog
    @JustDoog 6 หลายเดือนก่อน +1

    im having the same issue as Adam where the enemy BP isnt picking up the attack. I made a character BP with a simple cube using the same setup and its recognizing the hits and displaying the print string
    changing "visibility" in the collision settings to "block" seamed to fix it for me, so i only have the camera checked in ignore, everything else is blocked. now working as expected

    • @stargamesstudio66
      @stargamesstudio66  6 หลายเดือนก่อน

      I’ve been trying to recreate the issue. Haven’t seen the apparent problem. I’m sure it’s something easy. I’m opening a discord server later tonight. We can hash out issues

    • @JustDoog
      @JustDoog 6 หลายเดือนก่อน +1

      @@stargamesstudio66 its a strange one, what version of unreal are you using? im on 5.3 and following the tutorial exactly has it turn out that no green trace shows. changing the visibility to block fixed it for me but yours was unchanged so not sure why thats causing any issues.. discords a great idea! be sure to make a community post or something so all the subscribers can see. look forward to seeing how these tutorials help people and how they are being used. im adding to an anime style game and have a "light katana" as a weapon

    • @stargamesstudio66
      @stargamesstudio66  6 หลายเดือนก่อน +1

      I posted your findings discord.gg/4R7MxErXwz
      Thanks!

    • @adamsnell2088
      @adamsnell2088 6 หลายเดือนก่อน

      Yep this did it for me too, so weird

    • @stargamesstudio66
      @stargamesstudio66  6 หลายเดือนก่อน

      @@adamsnell2088 I knew that you have to check those. No idea why it never occurred to me lol.

  • @adamsnell2088
    @adamsnell2088 6 หลายเดือนก่อน

    I've finished everything but the BP_Enemy I did still isn't recognizing the attacks. The cubes are recognizing the hits.
    I set the enemy collision to Custom, enabled for query and physics, Physics body, and checked the simulation generates hit event, and generate overlap events.
    I made the array for "damageable" in the enemy blueprint and copied this value into the actor has tag off the hit actor. Ughhh haha

    • @stargamesstudio66
      @stargamesstudio66  6 หลายเดือนก่อน

      Is there no green present when you hit the enemy? Meaning the trace capsule turns green in the area that is hit. Make sure that the tags are both spelled identically. damageable

    • @adamsnell2088
      @adamsnell2088 6 หลายเดือนก่อน

      @@stargamesstudio66 yeah exactly, no green trace in the enemy. Even after copy and pasting the name. Strange!

    • @stargamesstudio66
      @stargamesstudio66  6 หลายเดือนก่อน

      We'll figure something out. I'm currently setting up a Discord server so everyone can talk about issues and such.

    • @adamsnell2088
      @adamsnell2088 6 หลายเดือนก่อน

      @@stargamesstudio66sounds good! I'm gonna keep trying

    • @stargamesstudio66
      @stargamesstudio66  6 หลายเดือนก่อน

      One thing I failed to mention in the video, but I showed was dragging from the delay in the BPC_SaberAttack to the Reset in the Do Once. Don't know if you caught that or not.

  • @Legend00
    @Legend00 6 หลายเดือนก่อน

    Very nice, buddy ❤