Nebual / sandbox-plus

A community fork of Facepunch's Sandbox gamemode for s&box, with tweaks to allow modular addons, like Wirebox, to extend it further
MIT License
15 stars 9 forks source link

Smartsnap #10

Open Nebual opened 1 year ago

Nebual commented 1 year ago

Unsure if it should be builtin to S+ or just a recommended addon, but Smartsnap would be great to get ported.

LtBrandon commented 1 year ago

I think having it built in makes a lot of sense. I'd like to see a way for tools to opt out from having the grid shown too.

Nebual commented 1 year ago

True yeah - we could use something like https://github.com/Nebual/sbox_tool_auto/blob/main/code/SboxToolAutoAddon.cs#L76 and then a tool can (without any dependencies) just have a public bool SmartSnapDisabled {get; set;} = true; to opt-out, for stuff like the Duplicator or Material tool.