Respawn after falling out of Map: UE5 Blueprints

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

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

  • @AaronStumpDesings
    @AaronStumpDesings  2 года назад +5

    Ayyyy! Whos here?

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

    Thanks for the tutorial! Currently making a little 2D sidescroller and found that if I changed the return value for actor location to z: -200 it works consistently.....I am a complete novice to this so no idea why that worked, but couldn't have done it without the rest of this code, so cheers! :D

  • @magegames6202
    @magegames6202 День назад

    skimmed through quick seems like what i need i have a game im making thats zelda like i wanna have the player get hurt and warp back to land if cant swim yet entering water deff have to tweak it but good starting point for this thank you

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

    Hello,
    How would you deal with more complex environments ? Like having a landscape shaped like a cliff and some rock mesh put against it ? With that system, the trace got the slope part of the landscape and the rock meshes, and the respawn can occurs below them or in the slope.

  • @unsupporteddevice
    @unsupporteddevice 9 месяцев назад

    you're a life saver thank you so much!

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

    I used this solution for a 2D Platformer in Godot Engine. I just hope three Raycasts are enough in this case.

  • @mist3rtrixt3r
    @mist3rtrixt3r 2 года назад

    So I followed this tutorial to the letter, and even watched it again to make sure I connected every pin correctly, and placed all the right nodes, but it is still not working. I jump off the edge of my level, and nothing happens when I hit the trigger box. I'm not sure what to do.

    • @AaronStumpDesings
      @AaronStumpDesings  2 года назад

      One thing I would recomend is start debugging. So if sometimes if something isn't working I start using a break point to see if things are being called. Start with the lintrace and make sure it is being called. If its being called go down the line to the next thing. Is the overlap working etc. To use a break point press f9 on a node.

  • @JusticeRios-p1v
    @JusticeRios-p1v Год назад

    Any update on the issue of getting caught on the edge and looping or not being respawned at all? Not sure how to really fix it.

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

      You can store multiple of those traces instead of just one and use the second location. So an array and add to the array. You can add an offset to the last location. You could add an offset to where the trace is being spawned. So instead of it being straight down make it behind the player. There are other options too, but there are a few ways.