Regular API function

simSetLinkDummy / sim.setLinkDummy

Description Defines (or breaks) a dummy-dummy link pair. Useful to create dynamic loop closure constraints on the fly (among others). See also sim.getLinkDummy.
C/C++
synopsis
simInt simSetLinkDummy(simInt dummyHandle,simInt linkedDummyHandle)
C/C++
parameters
dummyHandle: handle of the first dummy in the dummy-dummy link pair.
linkedDummyHandle: handle of the second dummy in the dummy-dummy link pair. Set to -1 to unlink the first dummy.
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.setLinkDummy(int dummyHandle,int linkedDummyHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.setLinkDummy(int dummyHandle,int linkedDummyHandle)

<