i've been struggling to fix this over the past few days:
what i want to happen:
- spawn 1 ground piece,
- spawn 1 gap piece,
- i will eventually expand this to spawn ground pieces and gap pieces of set sizes but randomly so i have been using a spawn sensor to detect when they no longer overlap to spawn the next one. so when the ground piece no longer overlaps the sensor, spawn a gap, when the gap piece no longer overlaps the sensor spawn a ground piece.
would using a family solve this? (my thought is "pick all family" "family is not overlapping sensor"
or is there a better way to generate terrain, randomly but in sequence like this?
picture of code for those without r117
sidenote: i will be buying a license eventually, i just wanted to wait until i had a game closer to completion but if families can solve this i would consider buying one now.