Serious problem

i need a bit of help. i have created a basic test man and got the basis of what i want him to do with space for more moves. now i want him not to walk through the floor. i want him not to fall through the yellow object