Godot Collision masks and layers: An idiot's guide

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

КОМЕНТАРІ • 78

  • @InnerEagle
    @InnerEagle Рік тому +377

    As an Idiot myself, I'll rewatch this for an hour to understand what this means

    • @TheSteveTheDragon
      @TheSteveTheDragon Рік тому +13

      I'm somewhat of an idiot myself, and will do so as well.

    • @nailbomb420
      @nailbomb420 Рік тому

      I'm downright retarded, so Ima read this comment for the next few days.@@TheSteveTheDragon

    • @Facu.Benitez
      @Facu.Benitez 11 місяців тому +6

      Same here 😂

    • @TherronKeen
      @TherronKeen 10 місяців тому +3

      Just came looking for this solution, and I think I just need to play this video on a loop while working on my game lol

    • @only3B
      @only3B 9 місяців тому +3

      same

  • @MasonDavies74
    @MasonDavies74 11 місяців тому +49

    🙏Thank you for getting straight to the point, without making us sit through 8 minutes for the crucial nugget of information!🙏

  • @sihy
    @sihy Рік тому +37

    Masks are for looking; layers are for being seen.

  • @rishabh9188
    @rishabh9188 Рік тому +22

    I’ve started learning Godot recently and was struggling with this concept, Thank you!

  • @TherronKeen
    @TherronKeen 10 місяців тому +6

    you're setting the absolute gold-fucking-standard for how informational videos should be made.
    If every tutorial online was this informative and concise, the human race would've saved millennia of wasted hours lol

  • @jeffreystephens2658
    @jeffreystephens2658 Рік тому +7

    Think of the mask as a pair of glasses with a lot of decorations.
    Each mask has a lens. You put on the mask with the proper lenses for the layers you want to look at.

  • @timmygilbert4102
    @timmygilbert4102 6 місяців тому +5

    Layer: who can pick me
    Mask: what can i pick

  • @cabritsanscorgaming
    @cabritsanscorgaming Рік тому +7

    Such a simple killer way to remember, thanks !

  • @caquito
    @caquito День тому

    I feel like an idiot, now I hope I'll remember it forever

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

    I'm new to godot I have been coding for basically a whole day trying to figure out why adding physics layers turned off the collisions for walls completely.
    Hearing the first 5 minutes of the video I immediately realized what the issue was. I forgot to give the player character the "walls" mask.
    Thank you for reminding me

  • @PenguinGuy17
    @PenguinGuy17 3 місяці тому +1

    Masks: Im looking for.....
    Collisions Layers: Im being watched by...

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

    Thanks for the nifty tip! I use remembering tricks all the time so I hope to remember this one.

  • @tommooy6806
    @tommooy6806 2 місяці тому

    Ive been trying to figure out hit boxes and hurt boxes in my game for literal days now and i finally got it to register a hit while watching this vid. goated vid

  • @RandomGuy-kd3xs
    @RandomGuy-kd3xs 3 місяці тому +1

    Layer : who i am
    Mask : who i can pick

  • @BunnyRabbit.
    @BunnyRabbit. 4 місяці тому

    I went to chatgpt to know better because everything here went over my head.
    After 10 minutes, I came back here and realized how simply you explained in less than a minute and everything made sense to me. 😅

  • @geocine
    @geocine Рік тому +7

    straightforward, thank you!

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

    Damn, this is actually a new perspective for me. TY!

  • @hugowells656
    @hugowells656 5 місяців тому +3

    My Brain: Clear as mud!

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

    this video changed my life thank you for this

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

    Most useful 43 seconds for Godot and Raycasting. I am almost 100% certain this will solve the issue I have in my project right now.

  • @-lunte.
    @-lunte. 8 місяців тому

    dude the first sentence breaks my brain already

  • @Paruthi.618
    @Paruthi.618 Рік тому +4

    well explained... short but very clear

  • @bossmbgaming
    @bossmbgaming Рік тому +2

    Well when you put it like that... 😄 Great Video!!

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

    the Mask property allows a node to listen to interaction with other physics objects

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

    I was the 1k like :))
    You deserve it man

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

    might have to watch this a couple of times

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

    Short and on point! Thanks

  • @kissunessa538
    @kissunessa538 Рік тому +3

    So sad that I cant leave more likes than one. Your videos are really helpful. I hope YT algorithms will gift you more views and subs in the future.
    Also, hope you will create Discord server so people can give you more love

  • @nulkecola
    @nulkecola Рік тому

    the layer is where you are.
    the mask is where you look.

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

    They should just link to this video in the Collision tooltip in the Godot editor

  • @arnarasyid5393
    @arnarasyid5393 Рік тому +2

    this very helpful, thanks. you should make more

  • @Azuriiee
    @Azuriiee 5 місяців тому

    basically layers are receivers and masks are the senders

  • @Soroosh.S83
    @Soroosh.S83 Рік тому +2

    I didn't get my answer but more question now I have to rewatch to understand
    Edit: I almost get it guys. Very helpful thanks

  • @chuckiee3
    @chuckiee3 Рік тому +3

    4 seconds in , much more useful than the first result that was 7:43 long

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

      Yeah. I wish youtube was designed for useful tutorials, and time wasters like that dropped to the lowest ratings.

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

    Thanks, perfectly on point

  • @bloodykun4443
    @bloodykun4443 2 місяці тому

    Seems no matter what masks or layers or whatever I click on and off, could have all on, seems my character just falls through the floor in the same exact way.

  • @BlekYT
    @BlekYT Рік тому +2

    A forty two second god.

  • @pacomatic9833
    @pacomatic9833 Рік тому +5

    Wish the names were more clear.

    • @DiegoSynth
      @DiegoSynth 4 місяці тому +1

      Yeah, they could have named them "tree" and "banana" and it would have been the same

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

    You spelt "Masks Determine what I can detect" in the opening intro as "Marks Determine what I can detect" and you even spelt it as Layers and MAsks as the title. Truly is the "idiots" guide XD

  • @misters7303
    @misters7303 Рік тому +2

    Quick and simple thx

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

    I am an idiot! I am here for my lesson!😂😂🎉

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

    God tier tutorial

  • @joseurbanos.domingo6344
    @joseurbanos.domingo6344 4 місяці тому

    thank you, now i am less of an idiot.

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

    i've learned to make complex state machines and hashmaps but for the live of me i still dont get WTF the difference between layes and masks are

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

    It still doesn't really make sense to me.
    If layers and masks both look up each other then why the differentiation between the two? Why not merge them to one list of layers/masks?
    So confused on this concept.

  • @miachristensen5444
    @miachristensen5444 2 місяці тому

    incredibly good basic explanation hahaha

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

    IT ALL MAKES SENSE NOW

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

    Hidden on Layers,
    enemies to me.
    So I'll wear a Mask
    to detect thee. -- Psy 😃

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

    so if the rectangle falls on the circle, will the circle follow it but the rectangle falls normally?
    just some esoteric stuff that may or may not help me down the road, I'm just curious

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

    at 0:36, I was quite sure you were rambling and I had learned nothing.
    that last 5 seconds really sold the video though.

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

    great stuff

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

    god.. thanks
    now, im not so idiot like in the past

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

    ah so like Mask if i want to punch and Layer is to get punched

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

    I use:
    Where I am.
    What can see me.

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

    Thanks, big brain move

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

    Solid.

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

    Just in case im gonna play it 100 mor times 🤔

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

    Very clear

  • @Amber-dy3vd
    @Amber-dy3vd 5 місяців тому

    thank you so much oh my god

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

    thanks that was quick

  • @Dilan-g6s
    @Dilan-g6s 6 місяців тому

    thanks you bro

  • @dobleve_walas
    @dobleve_walas Рік тому

    Didn't get it.

  • @TheAlison1456
    @TheAlison1456 Рік тому

    Wow, this is confusing. Holy crap.

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

    hwat

  • @johnxina7496
    @johnxina7496 Рік тому

    wut

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

    Im not comprendo