I am making an in-game building system, loosely following a tutorial. That tutorial assumes that the components are more or less the same size. I needed to modify it so that the pieces could be any size (as long as they fit the “grid” of the build system). This section that I was having trouble with was to determine which direction the part was being snapped in, so that if the part was bigger than 1x1x1, in regard to the build grid, it would be moved the correct direction to accommodate the larger size.
1 Like