I have a State called crouch in which it changes the collider height with a Set Property. The problem Im having is that when I'm crouching under and object and then I un-crouch (the collider height changes to the normal size), the object and player colliders overlap. What would be a good way to only let the collider change size (or change state to standing) if two colliders don't intersect?
Thanks.