I'm trying to create a basic build system, I can build up from a block but I can't build off the side or down from a block without it clipping. Does anyone know a solution?




I don’t know what GetGridLocation does, but I assume it is snapping the location to a predefined grid in 3d space.
You not only need the hit location but also the hit normal in order to define the correct grid location.
For example, if you are hitting the +X face of a block, you want the block-to-create location to be the hit block location + 1 X (in block unit). Same thing for all the other axes (+X, -X, +Y, -Y, +Z, -Z).