Creating a "Snap To Grid" In Unity 3.0

So Unity has a wonderful freedom to it when building/editing a scene/level. However I am curious, mostly for larger objects, if there is a built in grid/snap system.

This would mainly be used for larger objects like buildings and roads that can be hard to position perfectly due to the space they take up on screen.

Has anyone had any experience with this? If so would you care to share? I seem to recall Unity 2 had a snap option, but I can’t find the reference I had bookmarked.

Thanks so much everyone for your continued support.

Cheers,

Ben

I don’t have Unity open right now, but try looking towards the bottom of the ‘Edit’ menu.

[Edit: Look under Edit->Snap Settings.]

Yes then hold Ctrl when moving the object around.
Although, it would be nice to have a checkbox or something so you can always have it on if you want :slight_smile:

ahh, awesome guys.

I haven’t played with the snap much, but is there a way to set a visual grid with certain scales? or? I will probably answer my own question when I get back into the engine later tonight, but figured I’d ask anyway

Nope the grid doesn’t changes from the one meter grid visually(as far as I know). But that would be a nice feature Unity should make in the future.

The other thing is you can not tell the size/scale of the grid squares (they change as you zoom) until you move an object around.
Perhaps the coordinates of your mouse in 3d space could be shown when you are in a non-perspective/2D view?
I’ve not used a 3D package for a while - but isn’t that how they work?

thx for that infos

Def would be a great feature! Some programs (ex: Flash) allow you to toggle the grid snapping ability…even while you are mid drag.

just a note to mac users, hold down cmd to make snapping work! ctrl does nothing at all, I spent a good 20 minutes reading up on snapping only to find out I was pressing the wrong key all along.