3
$\begingroup$

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?

$\endgroup$
  • 1
    $\begingroup$ What if you use a different key for your customized locking rotation, and keep R as the default? $\endgroup$ – Einar Apr 27 '15 at 16:10
  • $\begingroup$ It seems like a backwards sollution, but thanks for the suggestion. $\endgroup$ – Jimmy Livefjord Apr 27 '15 at 16:50
  • $\begingroup$ Wait a few minutes, I'll write this addon for you $\endgroup$ – Ludwik Apr 28 '15 at 9:10
  • $\begingroup$ On second thought, this was harder than I thought (misunderstood your question). Might do it later today tho. $\endgroup$ – Ludwik Apr 28 '15 at 9:19
  • $\begingroup$ Thank you that would be great! did you read what sambler wrote aswell? $\endgroup$ – Jimmy Livefjord Apr 29 '15 at 9:57
3
$\begingroup$

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.

$\endgroup$
  • 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$ – Jimmy Livefjord Apr 27 '15 at 16:04
  • $\begingroup$ Oh, okay. Sorry for misunderstanding. $\endgroup$ – Commander Matt Apr 28 '15 at 17:03
1
$\begingroup$

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.

$\endgroup$
  • $\begingroup$ Thanks! I am not skilled enought to code this but its great to know that it can be done! $\endgroup$ – Jimmy Livefjord Apr 29 '15 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.