### sim.invertMatrix function doesn't seem to be working

Posted:

**22 Sep 2018, 19:59**Hi,

The above mentioned function always gives 1 as a result of an inversion. Even this simple code: gives 1 as the answer although the matrix is invertible.

Is this a bug?

*EDIT* Just to add to this, the function is also buggy as the values for the second angle (y-axis) jump around. Whereas, when I used the method in this pdf, I get a continous range.

Cheers

The above mentioned function always gives 1 as a result of an inversion. Even this simple code:

Code: Select all

`print(sim.invertMatrix(sim.buildIdentityMatrix()))`

Is this a bug?

*EDIT* Just to add to this, the

Code: Select all

`sim.getEulerAnglesFromMatrix()`

Cheers