Random cracks in things.

Discussion in 'Mapping Questions & Discussion' started by my name alex, Aug 4, 2017.

  1. my name alex

    my name alex L1: Registered

    Messages:
    5
    Positive Ratings:
    7
    Hi, I'm having a problem where if I make a sphere, cylinder, and other shapes (but blocks), they'll have these crack in them, and sometimes, causing a leak somehow. Is there a way to fix this?
    [​IMG]
     
  2. BigfootBeto

    aa BigfootBeto Too obsessed with perfection

    Messages:
    360
    Positive Ratings:
    534
    This is most likely caused by offgrid vertices, and since hammer has floating point precision loss, the vertices will not retain their original position when saving and loading. I usually get this problem when I make cones (spikes) or I use the clipping tool on a cylinder, but it can appear on pretty much anything that has a lot of vertices/edges meeting at one point (apparently).

    hammer_2017-07-31_00-21-05.jpg

    In the screenshot I posted, you can see that if you zoom in all the way, in the bottom left view, the vertices (white dots) aren't on the grid. To fix the problem, I simply select the affected brushes, enable the vertex tool ( :vertexmanip: ), drag a selection box and select all the vertices, then press CTRL + B, to snap the vertices onto the grid.

    However, sometimes the problem is so severe, that the brush becomes invalid. In that case, it's best to check problems with ALT+P, and see if there are any invalid solids. You can try clicking the "fix" button, but more often that not, hammer will stretch the brush into infinity making it invalid again anyway. It's best just to delete the brush and remake it.
     
    • Thanks Thanks x 1
    Last edited: Aug 4, 2017
  3. Viperi

    aa Viperi not actually a snek

    Messages:
    962
    Positive Ratings:
    530
    There's a setting in the options tab to align cylinder and other shape vertices to grid 1.
     
    • Agree Agree x 1
  4. my name alex

    my name alex L1: Registered

    Messages:
    5
    Positive Ratings:
    7