Move Static mesh ?
How to make the static mesh move in Y axis -> +10 and after sometime it again move Y axis -> -10 in Loop.
asked Apr 06 '19 at 07:26 PM in Blueprint Scripting
you could do it pretty easily with a timeline and or a timer.
for a timeline you can set the timeline to loop then create a curve which corresponds to the pattern you want. in the example below i have a sphere move forward over 1 sec, then pause for 1 sec, then move back over 1 sec, then pause for 1 sec, then repeat on a loop. to handle the moving of the mesh i used a set relative location node, and the location is set based on a lerp vector which will give a location based on the alpha.
for a timer you would just have a timer which calls an event every x seconds. the event would handle the moving of the mesh via whatever means you like such as a timeline or if its a pawn then you could use navigation movement.
answered Apr 06 '19 at 08:05 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here