So I want to get the orientation of this matrix in Moon animator to insert it in my script, but I can’t find out how you can change the value to orientation. The most right box is the position, but it’s the 3 x 3 Rotation matrix I am confused about.
I solved it on my own, I just had to get the right tool, and I found a website which changes the matrix.
https://www.andre-gaschler.com/rotationconverter/
Roblox has three functions for converting a CFrame value and retrieving its orientational components only (the angles likely used to create the CFrame value).
CFrame:toEulerAnglesXYZ
and CFrame:toEulerAnglesYXZ
and CFrame:ToOrientation()
The latter two are equivalent and both return a tuple of values (multiple values) with each value representing an angle along the Y, X and Z axis respectively.
The first does the same but returns three values each representing an angle along the X, Y and Z axis respectively.