Regular API function

simPoseToMatrix / sim.poseToMatrix

Description Converts a pose to a transformation matrix. See also the section about positions, orientations and transformations
C/C++
synopsis
int simPoseToMatrix(const double* poseIn,double* matrixOut)
C/C++
parameters
poseIn: the input pose
matrixOut: the output matrix
C/C++
return value
-1 if operation was not successful
Lua
synopsis
float[12] matrix=sim.poseToMatrix(float[7] pose)
Lua
parameters
pose: the input pose
Lua
return values
matrix: the output matrix
Python
synopsis
list matrix=sim.poseToMatrix(list pose)