Unreal Engine 5 Hitting your Crosshair

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 3

  • @Develop01315
    @Develop01315 Місяць тому

    Thank you for the tutorial. It’s a good tutorial-simple and easy to learn.🙂

  • @HWGamingDev
    @HWGamingDev Місяць тому

    This Does not work i tried it you cant shoot into the sky and not every line trace hits when shooting at anything

    • @ModelingWithJ
      @ModelingWithJ  Місяць тому

      Hello Sorry to hear that the system doesn't work the way you want it to, the dont being able to fire into the sky is because the line trace had hit nothing if you want the line trace to go into the sky you can use the first line traces Return Value into select vector the A will be the out hit location and the B will be the result of the add vector the defines the first line traces endpoint (Link to example: imgur.com/gallery/unreal-engine-5-hitting-crosshair-sky-shot-eZN7QD0).
      As for not hitting your target at 1:42, we added a “random float in range.” This causes our shots to have some randomness in accuracy. If you want the shots to be 100 per cent accurate, you can remove them or set them to zero.
      I hope this helps clear up any problem you might be having and I’m truly sorry to hear that the system didn't work the way you had hope.