moving character on a plateform in motion


I have a character walking on a platform, everything is ok but when I put the platform in motion, my character goes through.
how to make my character doesn’t pass trouth on a plateform in vertical motion???

can someone help me pleeeease?

Check if your platform and your character both have colliders,