simSetLinkDummy

Defines (or breaks) a dummy-dummy link pair. Useful to create dynamic loop closure constraints on the fly (among others)

C++ synopsis

int simSetLinkDummy(int dummyHandle, int linkedDummyHandle)

Arguments

  • 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

Return

  • -1 if operation was not successful


See also: