This depends on your collision settings. For this kind of object you are in need to use polygon collision as box does not work (can not be rotated) and circle would not help straight away as well.
The only other thing might be using linepick straight downward to check if the player is on the planks
The only other thing might be using linepick straight downward to check if the player is on the planks