Hi everyone! I have a begginer’s question here. I’m making an actor blueprint containing 4 Static mesh components in which I’m trying to make them switch out by moving the first two in the sky and making the other two fall from the sky when the first two go up. Now I’ve made 2 arrays in which I’ve placed the first and second two meshes and I am moving them by setting their Relative Location using the Timeline and the ForEach Loop. Everything works fine but I want the objects to move up and down with a delay of 0.2 seconds in between every array element and just can’t get the idea of how to do that. Anyone have an idea? This is how the code looks like now and it moves all the elements at the same time:
You really need different timelines for each mesh.
What is much easier, is to make a BP for one mesh, and make the parameters configurable. Then just put 4 of them in the level ( You can also spawn them from a central BP )
Another option, is to use finterp to move them
Thanks for the help! Can you share how to spawn them from a central BP? Because what I’m trying to do is to set up one parent blueprint and then use only Child BP’s from that parent in which ones the only thing I do is change the number of static mesh components I wish to animate and the rest is done by the parent BP.
So I made a BP with a cube in like this
By default, Offset is 100, and TL speed is 1
Then, all I have to do is make this BP
and voilà
You need to expose the variables so you can set them
Don’t try and do it with child BPs, very hard to work with…
Great! Thanks for the tips and for your help!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.