clicking off selection
I was checking out how a friend of mine uses modo. He has axis constraints update automatically based off his viewport orientation, and his transform tool toggle on an off with the gizmo invisible. This allows him to be super fast because he doesn't have to position the cursor over a selection or gizmo handle.
I want the same thing.
I got the auto axis constraints working, but I have NO IDEA how to make it so that if I L click drag in empty viewport space while having an object/subobject selected, and while having this script enabled, the selection will move with my mouse even though I didn't click drag over the selection.
I looked into maybe using dotnet to set the cursor position... but i don't see any method that does that.
Attached is my code for my axis constraints script. Thx!!!!