Hi!
I am trying to spawn a series of objects with a series of coordinates that come from a datasheet. I am able to get the objects to spawn with the correct X coordinates, but the Y and Z coordinates stay at 0. What am I missing here? While searching for errors I am able input the values from Y and Z values separately I insert them where the X coordinates should go.
Well the Sequence node executes in order. So you have the first pin from the first Sequence node firing and then spawning point lights for each X before it fires the second pin. You shouldn’t be spawning any point lights until you have all the X Y Z values that you want. What you could do is get all 3 arrays AND THEN grab the values for each X Y and Z index together before spawning the point light.
Although I don’t see why you’re overcomplicating things. Why not just an array of vectors? If you want to put the vectors in a data table you could create a struct that contains a vector. You could also use a data asset.