How to make a ball move with an animation?

I have a player (ball) that rolls on to a lift which goes back and forth but the player just stays on one spot and falls?

I think what I need is an onTrigger child-Parenting script and an onExit, I just want something simple to get the job done

If you trying to get a moving platform going try these links:

Also, try adding a rigidbody to the player or adding magnetism to the platform.


Note that for magnetism you will need the character to move much faster then the magnetism force.