How Do I Get My Player To Move With The Block That Its On

I built this fps game, it has basic movement and works pretty well, but when ever I get on a moving block my player stays where it is and the block goes its own way.


I’ve
been trying to fix this one but I’m quite new at C# and I don’t think I can figure it out please help!!!

Use Area or Surface effector as the component of the ground, then you can apply your customized physics in the area which you had been selected. but first you have to add collider to object and mark it as “Used by effector”