Hi im new here, not sure where to put my question so ill put it in basics. Feel free to move it.
So for a project i am working on I need to be able to press a button (spacebar) and then if i am at a certain location blocks will start appearing, but they appear at a location i tell them to and in a sequence. SO the start left to right and then when its maybe 7 blocks long they start to stack on top of eachother.
So basically they have pre set locations. (its to build a sand castle).
Now heres a tricky part. I want it so when a block comes in contact with an object it is destroyed and disappears. But when this happens when more blocks are placed i want them to spawn where the other ones are missing before it carrys on from the last block it placed.
Hope this makes sense, So could someone please guide me in the right direction of what methods i need to use in order to achieve this. If theres any other questions or if put up something confusing please let me know.
Greatly appreciated, nicholas.