Regular API function

simMultiplyMatrices / sim.multiplyMatrices

Description Multiplies two transformation matrices. See also the section about positions, orientations and transformations
C/C++
synopsis
simInt simMultiplyMatrices(const simFloat* matrixIn1,const simFloat* matrixIn2,simFloat* matrixOut)
C/C++
parameters
matrixIn1: the first input matrix
matrixIn2: the second input matrix
matrixOut: the output matrix (the result of the multiplication: matrixIn1*matrixIn2).
C/C++
return value
-1 if operation was not successful
Lua
synopsis
float[12] resultMatrix=sim.multiplyMatrices(float[12] matrixIn1,float[12] matrixIn2)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
resultMatrix: the result matrix (a table containing 12 values)
Python
synopsis
list resultMatrix=sim.multiplyMatrices(list matrixIn1,list matrixIn2)

<