simGetObjectParent
Retrieves the handle of an object's parent object
C++ synopsis
int simGetObjectParent(int objectHandle)
Arguments
objectHandle
: handle of the object
Return
handle of parent or -1 if the parent doesn't exist or in case of an error
See also:
simSetObjectParent
simGetObjectChild