Regular API function

simSetObjectChildPose / sim.setObjectChildPose

Description Can be used to set a spherical joint's rotational transformation (the translational part is ignored). See also sim.getObjectChildPose.
C/C++
synopsis
simInt simSetObjectChildPose(simInt objectHandle,const simFloat* pose)
C/C++
parameters
objectHandle: handle of the object
pose: pointer to the pose (x,y,z,qx,qy,qz).
C/C++
return value
-1 if operation was not successful
Lua synopsis sim.setObjectChildPose(int objectHandle,float[7] pose)
Lua parameters
Similar to the C-function counterpart
Lua return values
Python synopsis sim.setObjectChildPose(int objectHandle,list pose)