I am working on instantiating a floor and a wall around the player. I have never done this, but in essence, when the player triggers the object, a floor and a wall needs to SURROUND him. Anyone know of a way I can get started?
I’m not really sure what effect you are going for here but if the problem is positioning the walls and floor close up to the player then you might find the renderer.bounds property useful. This gives you the minimum and maximum X, Y and Z coordinates for a box that encloses the object completely but tightly. You could, perhaps, use these coordinates to position the walls and floor.