Hi !
I have 7 spawn points on my scenes. Player spawn point, Cube point 1, cube point 2 , cube point 3 , checkpoint point 1 , checkpoint point 2 , checkpoint point 3.
Once player is spawned, a cube should be spawn on one of cube spawn points. Once Player collided with cube, another checkpoint should spawn on checkpoint spawn point.
for example : if cube spawned on cube spawn point #2, checkpoint should spawn on checkpoint spawn #2, not on #1 or #3.
Then, once player, triggered checkpoint, another cube should be spawn on another cube spawn point. this will repeat.
I couldn't figure out the logic.
Help me