Don't know how to Move character with platform underneath.

I made it so that a player when he is on top of the platform he moves with the platform, but is there a way so when i hit the platform from underneath the player will move with the platform/get stuck with it, until I hit a button?

This takes place in a 3d environment, first person character is underneath a moving platform using this tutorial Moving Platforms Unity C# Scripting Tutorial - YouTube

“the following is a trigger box around that of the platform”

void OnTriggerEnter(Collider other){

 if (other.tag == "human") {
     other.transform.parent = gameObject.transform;
     print ("holding");
 }

}

void OnTriggerExit(Collider other){

 if (other.tag == "human") {
     other.transform.parent = null;
     print ("out");
 }

}

currently have that and have print to help me debug. Essentially from the youtube video be able to jump up and get stuck with the platform and move with it. untill you hit a button. Kinda stuck on where I should go from there, turn off gravity and make the character free floating? Or is there a way to keep the player without something underneath to help him continue to move.

Other interesting notes, if the platform is close to the ground and the player is touching the sides the platform will move the player. Also when the player is touching the ground and the platform is essentially at the character’s head, the platform will move the character with the platform. Im trying to get it so if the platform is off the ground when the player jumps up and touches the trigger box he would go with the platform.

Goal: Have a player underneath this moving platform and the player will move with this platform while being under it, and not touching the ground at all.

Thanks!!!

Actually, you can import the fps character from unity 4 and all you need is a sprint script along with the walking sound. Sorry this is a short answer but there isn’t much to it…