How would you spawn object in a straight line

Here’s one way to approach it:

Basically at each loop…

  • Taking the Index and multiplying it by an increment in distance between each coin (10 units in my case)
  • Setting that result as the X relative location
  • Created a Lane Enumeration (Left, Middle, Right) and set it as an editable variable so it’s unique per tile
  • Check the Lane enum variable and through a Selector node based off the Lane Enumeration we made
  • Setting that result as the Y relative location