I’m working in 2D, so everything has 2D colliders.
I have a main character on the default layer. Then I have 3 additional layers, layerA, layerB and layerC. I have the collision matrix set so that layerA will collide with the default layer but the other two will not. I have a gameobject in each of the 3 layers.
I have it setup in code so that on a keypress that all 3 objects will shift their layers.
Then I press a key, it becomes this:
The character does not fall through Object1 once this happens though. Once I have my character jump off of Object1, he will then fall through until he hits Object2. If I have him simply move left and right along Object1 he will not fall. Only when he leaves the object for a second. Why is this? Is there a workaround?