Detect wall

I've been making a walk_engine function which is meant to create a walking animation including holding hands, but I wanted to make that the root entity of the animated model can collide with blocks and it doesn't work properly, I can't get the right code... any ideas?

Continue to help post