I watched the video: https://www.youtube.com/watch?v=60rpO_0CJII
Why is the character able to move behind the chair? I understand that it's thanks to Y Sort, but it seems to be applied to the entire chair. If it is applied to the entire chair(Around 1:14), I don't understand why the character can move behind the upper half of the chair. It feels like the character should be able to move behind the entire chair.
What kind of settings allow the character to move behind only certain parts of the chair while preventing them from moving behind others?
I'm sure there is something I'm missing (or haven't noticed), but I don't know what the key points are. Where is the setting that allows the character to move behind only the backrest of the chair? I do not understand how to set up the details around 1:14 of the video.
The collision detection in the latter part of the video is not what I’m trying to understand this time. What I want to know is how to allow the character to move behind the chair, as shown in the image below, while appearing to sit on the chair.
Below is what it looks like after setup is complete(Godot running). Around: 2:33, 2:34
My current understanding of the video:
- Y Sort Order for the entire chair: 1
- Y Sort Order for the character: Unknown
- Y Sort Order for the floor: Unknown
Based on my own guess, it should be as follows, but the video does not match this, which is puzzling:
- Y Sort Order for the upper part of the chair: 3
- Y Sort Order for the lower part of the chair: 1
- Y Sort Order for the character: 2
- Y Sort Order for the floor: 0