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 synopsis simInt simSetLinkDummy(simInt dummyHandle,simInt linkedDummyHandle)
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 return value
-1 if operation was not successful
Lua synopsis sim.getLinkDummy(int dummyHandle,int linkedDummyHandle)
Lua parameters
Similar to the C-function counterpart
Lua return values
none