↧
Answer by herpanda
Okay I found a workaround. Put `transform.Translate(0,0,0)` in the update() function of whatever object you're trying to pass through. I'm not sure why this works, and it's probably wasteful calling...
View ArticleAnswer by Jonathan-Bro
I ran into this bug just now and found a good workaround for it. Try disabling then re-enabling the collider after setting the new layer. this.gameObject.layer = LayerMask.NameToLayer("IgnoreAll");...
View Article