if you only want to change the axis constraints, you dont need to use the mousetrack at all, but only register a callback that is run when viewport is changed because when viewport isnt changed (rotated..) the major axis wont change either, hence oyu can use the regular move tool if you want to do the moving yourself it…
Ok ive got single axis constraints kinda working but I need some help from people who actually know what the hell they are doing The constraints seem to work if your selection is close to the world origin. When the selection is further away it gets hard to determine what axis the mouse is closest to (its the way im…