Search found 2 matches

by Vincent22
Sun Aug 14, 2005 3:20 pm
Forum: Irrlicht.NET
Topic: Get rotation from Matrix4
Replies: 2
Views: 1983

Ok, I added the GetRotationDegrees() method to the Irrlicht.NET code and it works correctly. Here is the code you have to add to the Matrix4.h file in Irrlicht.NET: Vector3D GetRotationDegrees() { Matrix4 &mat = *this; double Y = -asin(mat.get_M(2,0)); double D = Y; double C = cos(Y); Y *= GRAD_...
by Vincent22
Sun Aug 14, 2005 2:33 pm
Forum: Irrlicht.NET
Topic: Get rotation from Matrix4
Replies: 2
Views: 1983

Get rotation from Matrix4

Hello all,

I have a big problem. I need to get the rotation part from a matrix. But in the .NET version is no method or Property Rotation in the Matrix4 class. Can someone explain why there is no method and how to read the rotation part out of the matrix.

Thanks a lot.

Vince