Fire homing projectiles (Bite sized) - Unreal Engine 5

Поділитися
Вставка
  • Опубліковано 26 жов 2024

КОМЕНТАРІ • 43

  • @wolfwirestudios
    @wolfwirestudios 10 місяців тому +4

    Really loving this Bite size content. Don't get me wrong, no issues with full length tutorials but to make a mechanic in under 10 mins is pretty impressive. Thanks !

    • @LeafBranchGames
      @LeafBranchGames  10 місяців тому +1

      Thank you, glad to hear you like it! :)

  • @danteplays777
    @danteplays777 10 місяців тому +2

    Man Thanks Brooo I Was Really Searching For This Not Got A Single Video For UE5 Under 10 Mins. You Killed It Bro🔥

  • @steve_rico
    @steve_rico 10 місяців тому +1

    Looking forward to seeing your channel grow, loving your content

    • @LeafBranchGames
      @LeafBranchGames  10 місяців тому

      Thank you very much, appreciate the kind words. :)

  • @tomhikon
    @tomhikon 11 місяців тому +1

    Looks awesome thank you for sharing!

  • @emirisik
    @emirisik Рік тому +1

    Best UE tutorials out there :)

  • @PatrickVitelaYourAverageGamer
    @PatrickVitelaYourAverageGamer Місяць тому +1

    nice JOBB liked and subscribed!

  • @justsharki
    @justsharki 4 місяці тому

    Some important things about the homing projectile are first the projectile should have no velocity by default because if it does it will create an deviation equal to the velocity and your projectile might not hit your target. Second your target should have collisions or your projectile will just non-stop pass through your target.

  • @squishylover3
    @squishylover3 Рік тому +1

    missed the videos!

  • @unrealdevop
    @unrealdevop 8 місяців тому

    Thanks for the tutorial, although I feel that the Homing feature of the Projectile Movement component is really lacking.
    I would prefer it to move in more of an arc but still be accurate but I actually find that all the player has to do is stand still and it will just orbit around him coming close but never hitting him. The only way to make it more accurate is by lowering the Initial speed to a point that it starts off basically aiming directly at him regardless of the angle your shooting from.

    • @unrealdevop
      @unrealdevop 8 місяців тому

      I did manage to get it setup so that I was ok with it, just wish the homing feature gave you more control.

    • @LeafBranchGames
      @LeafBranchGames  8 місяців тому +1

      I can understand this sentiment. If you know what kind of arc you are after, you could create dynamic splines and have a missile follow that path. That is move involved than just activating homing functionality though.

    • @unrealdevop
      @unrealdevop 8 місяців тому

      @@LeafBranchGames Yeah the thought crossed my mind. It took a little work but I got it fairly close to something like what I had in mind.

  • @stormrungaming
    @stormrungaming 3 місяці тому

    My CLASS for my SpawnActor from class is chosen from a BP STRUCTURE on the input pin. So the Homing target Component goes away when I connect the pin but IS there when I disconnect the pin and select the BP manually.. However I have many attacks that can be chosen and I would rather not make a spawn actor for each. Is there a way to make the Homing Target Component stay there?

    • @LeafBranchGames
      @LeafBranchGames  3 місяці тому

      The construct variable is available when it knows what class is being used.

  • @chick3nm4n
    @chick3nm4n 7 місяців тому

    Hey! loved the video, having a problem though, how can i get the projectile to track the player instead of a static mesh?

    • @LeafBranchGames
      @LeafBranchGames  7 місяців тому

      Replace the target reference with the player instead.

    • @chick3nm4n
      @chick3nm4n 7 місяців тому

      @@LeafBranchGames I am able to place a first person character in the level and have the projectile track that, but not the one i am playing as, any advice?

    • @LeafBranchGames
      @LeafBranchGames  7 місяців тому +1

      @@chick3nm4n What you need to do is either communicate to the blueprint that you are the target or you need to have that blueprint get that reference itself. So you have to communicat that at runtime. Either that or autopossess the character you placed in the level.

  • @PostrakCDP
    @PostrakCDP 6 місяців тому

    how do you have both the player start and the thirdPersonCharacter in the scene?

    • @LeafBranchGames
      @LeafBranchGames  6 місяців тому

      You drag in a player start and a third person character into the level.

  • @SchriztopherGaming
    @SchriztopherGaming 8 місяців тому

    I'm having troubles getting my default gun and projectiles to stay with me after opening a new level. I'm using game instance to get the gun to stay with me using a "hasGun" boolean on actor overlap, but can't figure out the projectile. Can you help me please?

    • @LeafBranchGames
      @LeafBranchGames  8 місяців тому

      If you are looking to make items persist easily over levels, I would suggest you make this powerful save system tutorial so it is all handled for you: ua-cam.com/video/7gfA-QO5pA8/v-deo.html

    • @SchriztopherGaming
      @SchriztopherGaming 8 місяців тому

      I'm going with more of an old school approach where there is no save game though, like a platformer game over start from the beginning style game. Sorry, I should have mentioned that in my previous question. Definitely saving this video you mentioned though. @@LeafBranchGames

    • @LeafBranchGames
      @LeafBranchGames  8 місяців тому

      @@SchriztopherGamingThe idea is exactly the same though, regardless if you use a save game or game instance. You still need to "save" and "load" that information somehow.

    • @SchriztopherGaming
      @SchriztopherGaming 8 місяців тому

      @@LeafBranchGames okay I'll dive deeper into it. Thank you very much!

  • @kylewalker8907
    @kylewalker8907 11 місяців тому

    Hey boss, trying to follow along and got stuck right at 2:35. I cannot place any reference to ProjectileMovement into the EventGraph. It keeps saying that ProjectileMovement is out of scope.
    I'm sure this means I missed something, or did something wrong? How would I fix this?

    • @kylewalker8907
      @kylewalker8907 11 місяців тому

      Nevermind, it was a strange bug. I had to close the engine and reopen it, then it suddenly began working properly.

    • @LeafBranchGames
      @LeafBranchGames  11 місяців тому

      Glad to hear you solved it.

  • @snowyy9884
    @snowyy9884 Рік тому +1

    nice nice

  • @Jack1Wilians
    @Jack1Wilians Рік тому +1

    1st

  • @AlexHall5678
    @AlexHall5678 9 місяців тому

    How do I set the Default Homing Target in the ThirdPersonCharacter BP if I'm making a first person game?

    • @LeafBranchGames
      @LeafBranchGames  9 місяців тому

      First person and third person is no difference other than the camera perspective. If you are using a differently named class as your player pawn, then you of course use that one isntead.