I am beginner for unreal engine and I am doing some simple project. I made a actor blueprint and add a cube component and resize in z-axis now I want to when I start the game cubes are generate randomly on the x-axis . But it has to be within the two upper and lower limits I have given.
Wrap the above with a function. Call it in a loop to generate the pillars on Begin Play or when the player overlaps a collision volume for a more dynamic approach.