Regular API function

simInvertMatrix / sim.invertMatrix

Description Inverts a transformation matrix. See also the section about positions, orientations and transformations
C/C++
synopsis
simInt simInvertMatrix(simFloat* matrix)
C/C++
parameters
matrix: pointer to 12 simFloat values
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.invertMatrix(float[12] matrix)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.invertMatrix(list matrix)

<