Regular API function

simGetObjectConfiguration

Description Retrieves configuration information for an object (object relative position/orientation, joint/path value). See also simSetObjectConfiguration and simGetConfigurationTree.
C synopsis simChar* simGetObjectConfiguration(simInt objectHandle)
C parameters
objectHandle: handle of the object
C return value
Pointer to configuration data if operation was successful, NULL otherwise. The returned data should be deleted with simReleaseBuffer when not used anymore
Lua synopsis number rawBufferHandle=simGetObjectConfiguration(number objectHandle)
Lua parameters
Same as C-function
Lua return values
rawBufferHandle: handle to a raw data buffer, or -1 in case of an error. The raw buffer is attached to the script until the simulation ends, at which time it is automatically released. Alternatively, you can release that buffer with the simReleaseScriptRawBuffer-function

All regular API functions on one page