Hello everyone.
I was faced with the problem of entering the trigger. There is a Collider activated as a trigger. In the script, I described the event:
void OnTriggerStay(Collider other)
{
if (other.CompareTag(“Player”) && !isShow)
{
//somecode
}
}
When I try to enter the right trigger - the character does not pass through it, if there is a Collider. But when I try to jump into it - everything works. Also, if I try to log into the trigger sideways it works. What could be the problem?