# How To Get Angle From A Rotate Matrix?

**URL:** https://forum.highend3d.com/t/how-to-get-angle-from-a-rotate-matrix/3426
**Category:** Maya
**Tags:** mel
**Created:** [December 25, 2005, 3:56am UTC](https://forum.highend3d.com/t/how-to-get-angle-from-a-rotate-matrix/3426 "2005-12-25T03:56:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fuzy](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/90ced4/32.png) [@fuzy](https://forum.highend3d.com/u/fuzy)
#### Post date: [December 25, 2005, 3:56am UTC](https://forum.highend3d.com/t/how-to-get-angle-from-a-rotate-matrix/3426/1 "2005-12-25T03:56:45Z")

</div>

Hope someone can help me,my question is:

How to get ax/ay/az from a rotate 4x4 matrix RA ?

RA = AX \* AY \* AZ

AX = | 1 0 0 0 | AY = | cy 0 -sy 0 |

```
    | 0 cx sx 0 | | 0 1 0 0 |

    | 0 -sx cx 0 | | sy 0 cy 0 |

    | 0 0 0 1 | | 0 0 0 1 |
```

AZ = | cz sz 0 0 | sx = sin(rax), cx = cos(rax)

```
    | -sz cz 0 0 | sy = sin(ray), cx = cos(ray)

    | 0 0 1 0 | sz = sin(raz), cz = cos(raz)

    | 0 0 0 1 |
```

Thanks for any advice. 🙂

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [December 25, 2005, 11:11am UTC](https://forum.highend3d.com/t/how-to-get-angle-from-a-rotate-matrix/3426/2 "2005-12-25T11:11:03Z")

</div>

[http://www.euclideanspace.com/maths/geomet.../matrixToEuler/](http://www.euclideanspace.com/maths/geomet.../matrixToEuler/)

---

<div class="post-metadata">

### Author: ![fuzy](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/90ced4/32.png) [@fuzy](https://forum.highend3d.com/u/fuzy)
#### Post date: [December 26, 2005, 3:47am UTC](https://forum.highend3d.com/t/how-to-get-angle-from-a-rotate-matrix/3426/3 "2005-12-26T03:47:52Z")

</div>

QUOTE(Joojaa @ 12/25/05, 03:11 AM)  
[http://www.euclideanspace.com/maths/geomet.../matrixToEuler/](http://www.euclideanspace.com/maths/geomet.../matrixToEuler/)  
[snapback]223249[/snapback]

I see, Thank you very much.
