First add the Platform behavior on your object (it also work with the PlatformPlus behavior by ZnelArts)
Then simply add the Ground Follow behavior on your object and it should work !
If this helped you achieving what you wanted, you can support my work by donating. Thanks :)
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7AKR7XEE34ESC