Regular API function

simGetLinkDummy / sim.getLinkDummy

Description Retrieves the object handle of the dummy linked to this one. See also sim.setLinkDummy.
C synopsis simInt simGetLinkDummy(simInt dummyHandle)
C parameters
dummyHandle: handle of the dummy whose linked dummy has to be retrieved.
C return value
Handle of the dummy linked to the specified dummy object, or -1 if the dummy is not linked or in case of an error
Lua synopsis int linkedDummyHandle=sim.getLinkDummy(int dummyHandle)
Lua parameters
Similar to the C-function counterpart
Lua return values
Similar to the C-function counterpart