Regular API function


Description Restores configuration information previously retrieved with simGetConfigurationTree (object relative positions/orientations, joint/path values). Dynamically simulated objects will implicitely be reset before the command is applied (i.e. similar to calling simResetDynamicObject just before)
C synopsis simInt simSetConfigurationTree(const simChar* data)
C parameters
data: data returned by a previous call to simGetConfigurationTree
C return value
-1 if operation was not successful. In a future release, a more differentiated return value might be available
Lua synopsis number result=simSetConfigurationTree(number rawBufferHandle)
Lua parameters
rawBufferHandle: handle to a block of memory previously returned by simGetConfigurationTree. If not needed anymore, you can release the raw buffer with the simReleaseScriptRawBuffer (all raw buffers are however automatically released at the end of a simulation)
Lua return values
Same as C-function

All regular API functions on one page