Hi again. I worked with your sample, and here is working solution. You miss few things, like a set world location, but not only. I created this on level blueprint, but it can be used elsewhere, rule is same. Here blueprint:
Do not forget to set mesh movable.
Generally I think better would be to create animation for movement like this, but it can works too, depending on your needs. Maybe this is not best version, but working as expected.
I changed values for better tracking, in example it moving 200 units as I remember and I changed time to 4.
Enjoy
Funny facts:
- if you will create platform with this script, you can ride on it. It can work aslo very nice as elevator;
- working with destructible, but with some weird effects - chunks moving too;