Hi, when I add new building for aliens, everything is ok when I build it on floor. But if I will build it on ceiling or wall, then between building and wall/ceiling is big space or building is partialy in wall/ceiling.
Same like with baricade:

How I can fix that? In bg_misc.c is "vec3_t mins;", "vec3_t maxs;" and "float zOffset;". I don't understand what for is offset. Is possible to fix it with these values?