Box Colliders become disabled randomly at game start
Whenever I start playing, some random box colliders on cubes fail to block character from moving through them (while most of the same other cubes do block character from moving through them).
My character has Character Controller attached to it's root node, and two box colliders, that are set to be triggers. Setting skin width does not resolve anything.
My scene contains multiple boxes with box colliders. Some of those box colliders randomly fail to prevent player from moving through them (sometimes when I run the game, my character immediately falls though the ground to the void). Bugged box colliders remain bugged forever (until restart of the game, but then some other box collider may become bugged)
I do not disable any of the box colliders or objects explicitly at runtime.
Even though, when this happens, box collider says it's active, but character is completely not blocked by it (screenshots attached).
My character is moved via the Character Controller's "Move" function (so the physics are calculated, and most boxes collide properly). Character Controller doesn't have rotate function, so I rotate my character setting transform.eulerAngles.
Can someone explain me, what may be wrong with those Box Colliders?
Your answer
Follow this Question
Related Questions
Character Controller too lag and no and without equal height 0 Answers
Character only falls when button is pushed down 0 Answers
Platforming character is jumping higher while walking 0 Answers
Adding force to direction of a Character Controller? 0 Answers
CharacterController getting stuck on slope corners 0 Answers