character is not passing throug the box

animated character when having collision with the box the animation character is not passing through the box

i have applied collider and rigidbody to the character and box collider to box and i user collosion on enter

when character hits the box collosion is happening and message is printing but character is not passing through the box

it is staying there itself when i apply is trigger character is passing but no collosion is happening

If you're colliding with the object, you won't pass through it. What you should probably use is OnTriggerEnter, with a trigger.