0
$\begingroup$

I can take 2 edges bisector angle value with middle = (theta1+theta2)/2, but I dont know how to calculate rotation value that direction is always outwards from the corner. I need rotation value for rotating object from its 0,0,0 rotation.

Sometimes rotation is right and sometimes opposite, depending of the angle.

code: http://www.pasteall.org/60689

enter image description here

enter image description here

$\endgroup$
  • $\begingroup$ What I understand is that you're calculating what's labeled "Rotation angle" in the picture with (θ1+θ2)/2 and you want to find what's labeled "Object rotated". If that's the case, you just need to add pi (or 180°): ((θ1+θ2)/2)+π $\endgroup$ – catlover2 Aug 23 '15 at 5:39
  • 3
    $\begingroup$ This seems more suitable to a maths Stack Exchange. Is there something that is specific to blender in this question? $\endgroup$ – Ray Mairlot Aug 23 '15 at 12:55

Your Answer

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

Browse other questions tagged or ask your own question.