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 number linkedDummyHandle=sim.getLinkDummy(number dummyHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page