How to fix Weapons/ Hands Clipping Into Walls in Unity (URP & SRP)

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

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

  • @smokinglife8980
    @smokinglife8980 3 месяца назад +1

    Thank you man, i been wondering how to do this for a while now cause moving the weapon out of the way alone does not always work but this solution mixed with Weapon Collision Avoidance is great!

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

    "Clear depth" on the weapon camera in URP. Thankyou, all this time I was missing that. lol

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

    Will there be more videos on the project? E.g. how to make and join different lobbies, see where the player is looking/what weapon he has, and how to create bullet impacts?

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

    I really need help with my canvas everywhere i look it rotates/moves and i need it fixed

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

    how can ı do it in hdrp.
    i cant just find clear flags.

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

    When i build and run on the editor and the actual build there are multiple arms floating around some without a player bean..

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

      Make sure the main camera does not render the weapons/ hands later. And then weapons cam should only render the weapons/ hands layer

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

      @@bananastutorials I got that figured out now thanks!!

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

    can you fix gun cliping whtif ainimaton pls

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

    i have the feeling there is something missing due your cuts in the video or iam just dumb. i adapted your tutorial step by step but in the end it is not rendering both in the same time its just one of both Map or Viewmodel. if i disable the main camera is just renders the viewmodel so i dont get how you render the map at the same time. but still its a good topic for a tutorial and very important for fps games actually its a standard and i often see it missing in some fps shooters. thx for video

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

      ok i got it fixed by putting the "Depth" in the WeaponCamera from 0 to 1 now its working properly. thx for tut

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

      @@real_linkw0w bro thanks, I've been going through different options for why I don't have a weapon displayed, if I hadn't seen your comment, I don't know what I would have done

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

    i can see guns thrue walls

    • @RoboCoderXX
      @RoboCoderXX 2 месяца назад

      Yeah same I wanna fix too!!

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

    Bro, please replace the Capsule object with real player model.

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

      Ok so I have animated arms but I’m too lazy to make another set of arms but with a body so how could I connect my arms to a body

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

    bro can you give me your project source code

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

      What’s the point? the point of the tutorial is to walk you through it all so you understand it, I think like the total length of the tutorial is about 3 hours. maybe I will at the end but you’re probably better off just downloading a project from the internet :)

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

      @@bananastutorials Bro Good answer💖💕but can you make mobile input? please i need , your tutorials awesome💕💖