I have managed to make a change so that the the default rotate function for "R" (free) gets locked around the Z axis when in the perspective viewport. The problem is that when I do that Blender will not rotate around the correct axis when you enter the left, right, top viewports etc. Is there any way to keep Blenders' default on all viewports except the perspective one?
-
1$\begingroup$ What if you use a different key for your customized locking rotation, and keep R as the default? $\endgroup$– HumiltonApr 27, 2015 at 16:10
-
$\begingroup$ It seems like a backwards sollution, but thanks for the suggestion. $\endgroup$– Jimmy LivefjordApr 27, 2015 at 16:50
-
$\begingroup$ Wait a few minutes, I'll write this addon for you $\endgroup$– LudwikApr 28, 2015 at 9:10
-
$\begingroup$ On second thought, this was harder than I thought (misunderstood your question). Might do it later today tho. $\endgroup$– LudwikApr 28, 2015 at 9:19
-
$\begingroup$ Thank you that would be great! did you read what sambler wrote aswell? $\endgroup$– Jimmy LivefjordApr 29, 2015 at 9:57
2 Answers
When you press R to rotate the object, press either X, Y, or Z on your keyboard. That will allow you to only rotate on one axis.
-
1$\begingroup$ Thanks for the answer but i already know that. The reason why i wanted to change this is that i don't have to press the x,y,z ever time. $\endgroup$ Apr 27, 2015 at 16:04
-
$\begingroup$ Oh, okay. Sorry for misunderstanding. $\endgroup$ Apr 28, 2015 at 17:03
Blender doesn't offer the options you want but I expect you can achieve this with an addon.
By creating your own rotation operator you can look at various properties then choose which options to set when calling the existing rotation operator. Then you replace the key-binding to run your operator instead of the standard operator.
-
$\begingroup$ Thanks! I am not skilled enought to code this but its great to know that it can be done! $\endgroup$ Apr 29, 2015 at 9:55