Hi. I don’t understand matrices at all. But anyway, how would you do that?

I guess this is a really simple/dumb question, but didn’t find an answer with google.

Thanks.

Edit: works with an identity matrix which has y and z rows swapped.

Hi. I don’t understand matrices at all. But anyway, how would you do that?

I guess this is a really simple/dumb question, but didn’t find an answer with google.

Thanks.

Edit: works with an identity matrix which has y and z rows swapped.

1 Like

You would rotate around the x-axis exactly positive 90 degrees (pi/2 radians), the positive z-axis will now be where the positive y-axis was, but the negative y-axis will be where the positive z-axis was. So now you do a negative or positive rotation of 180 degrees (pi radians) around the new z-axis and your positive y-axis is now where the positive z-axis was.

I forgot to add that your x-axis will be reversed after the second rotation.