Regular API function

simSetObjectConfiguration / sim.setObjectConfiguration

Description Sets configuration information for an object (object relative position/orientation, joint/path value). Dynamically simulated objects will implicitely be reset before the command is applied (i.e. similar to calling sim.resetDynamicObject just before). See also sim.getObjectConfiguration and sim.setConfigurationTree.
C synopsis simInt simSetObjectConfiguration(const simChar* data)
C parameters
data: data returned by a previous call to simGetObjectConfiguration
C return value
-1 if operation was not successful
Lua synopsis sim.setObjectConfiguration(string buffer)
Lua parameters
buffer: value returned by a previous call to sim.getObjectConfiguration
Lua return values