How do I move an object up and down continuously on map start

Basically just wanting a piston like effect on an object, to start when the map starts and never end. Have no idea how to go about doing this I’m a blueprint noob.

You can use a timeline to achieve this. Create Vector track in the timeline and animate it. Setup a blueprint ( a level blueprint is enough if you only have 1 or 2 instances of those pistons). Feed the output of the timeline as the input for Actor Location Offset node with the piston as the traget.

OR you could do it with Matinee (more control)

refer this post:
https://answers.unrealengine.com/questions/13702/how-can-animate-a-static-mesh-using-matinee-where.html

1 Like

thank you, ended up doing it the way you linked with matinee, anyway to make this a class blueprint instead of a level one?

As far as I know, matinee is a level object. So if you want to this animation self-contained inside the blueprint, timelines are the way to go. Add a timeline inside you tick event and animate using Actor Offset (or Set Actor Location).

anyway take a look at this article, and see if this works for you
https://docs.unrealengine.com/latest/INT/Engine/Matinee/UserGuide/BlueprintComponents/index.html

1 Like