|
Currently the only way I know of to use Snap to Grid feature when moving objects is to hold down the "Command" (or "Control" for PC). Is there anywhere in the editor you can toggle this option so you don't have to hold down a button all the time for object placement? If there is not a toggle option some where, what would be the best way to go about adding this feature to the editor?
(comments are locked)
|
|
I scoured the docs, but it doesn't look like this is something configurable. Instead, I wrote this little editor script that does essentially the same thing. (Note- It will always round down, but this could be pretty easily fixed) Place this script in a folder named "Editor", and hit CTRL-L or open Edit/AutoSnap to access the menu. is this a C# script? i get this error: which is this line: window var is also flagged as not used...
Sep 06 '11 at 02:30 AM
yatayata
This is written in JS
Sep 06 '11 at 02:53 AM
karl_
Cool, great script, thanks! Just a note for others, it seems that the window needs to stay open for the autosnapping to function. But you can just leave it in the background behind other windows.
Feb 28 '12 at 02:29 AM
Essential
You can also dock it somewhere to keep it open and out of the way.
Apr 15 '12 at 09:14 PM
mweldon
(comments are locked)
|
|
Here is the C# version. Awesome job karl_ and mweldon. Above and beyond. Very generous use of your time.
Jul 18 '12 at 05:05 PM
Lukas Barbarossa
(comments are locked)
|
|
No, there is not a toggle for this. And I do not know the best way to add this.
(comments are locked)
|
