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. In a future release, a more differentiated return value might be available
|
Lua synopsis
|
number result=sim.getLinkDummy(number dummyHandle,number linkedDummyHandle) |
Lua parameters |
Same as C-function
|
Lua return values
|
Same as C-function
|