Why do the basic SNAPS package assets have their pivot point defined in the corner instead of in the center?

There is probably some good reason to why the snaps assets are defined so that eg. a floor tile has the pivot point set in the corner instead of at the center, but I’d like to hear the reasoning behind it. To me it feels a bit strange if I want to put an item at the center of something I actually have to adjust its position by the size of the floor tile (so if the tile is 3 units wide I need to place it at 1.5, 1.5).

Anyone?

I haven’t used the snaps package before. If I’m ever making my own tiles I also set the pivot to the corners. This is mainly because I use snap to grid and the tiles normally align next to each other. So in the image below the red dot is the pivot. The white tiles have a corner pivot and can be placed using the standard snap to grid. The grey tile has a center pivot and needs to be set at a 0.5 offset. This can be done with snapping set to 0.5 instead of 1 but its normally easier to just keep the same units.

1 Like

Probably because it is easier to calculate the exact position to snap to the Grid and be on the correct spot especially if you are dealing with modular parts.

Otherwise if you put the pivot in the middle your asset will be snapping in the middle, and instead of measuring exact grid points of say, 3meters, your object would start at -1.5m instead of zero.

It doesn’t really matter, it’s just a choice as long as you stick to it.
Not make half assets with pivot in the middle and half at the edge.

Unity is using the same edge pivot at the creation of the Terrain tiles for instance.

1 Like