Random cracks in things.

  • Site Migration: See bugs? Report them here. Want something changed or have an idea? Suggest it here.

Alex.bsp

Professional Nap Taker
Server Staff
Jun 22, 2017
81
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?
POSdxvb.png
 

BigfootBeto

Party Time 2.0!
aa
Jun 8, 2016
488
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.
 
Last edited:

Viemärirotta

sniffer
aa
Feb 5, 2016
1,023
There's a setting in the options tab to align cylinder and other shape vertices to grid 1.