Well,you could cut off the for each loop and do a print string right behind the cast-to node ,to see if the box collision works. In my opinion it maybe that the character didn’t touch the box collision.
The box collision should larger then the mesh, otherwise the character won’t reach it.