How to create a guide so where i can place my cubes on the floor to build a house for example. Like minecraft
I'm not 1000% sure if this would work but you could make an invisble object starting from the center of the camera reaching out to watever the rage should be. Then you could check for collision between the invisible cube and the ground/cubes and do whatever it is you wan to do.
What I do is use Photoshop to make a grid texture (like a 2D ruler), then add that to a plane in the scene.
you could use Object.Instantiate , and set the objects to a certain postion , and then apply is.kinematic = true if you want to create solid blocks. however it would still require you to build one first so then you could build many using code.
you can also find some way of using a gui to select objects and make them solid when the player drops them and confirms.
keyboardmouse
ObjectA make object of certain dimesion and size.
Object B make object of certain size.
You could also make a call to game object with a tag so you could use imported models to make up buildings. I am not sure exactly what you want. But mine craft if i remember correctly allows you to destroy cubes and place cubes. and make things by mining items.