simSetObjectHierarchyOrder

Moves an object up or down among its siblings in the scene hierarchy

C++ synopsis

int simSetObjectHierarchyOrder(int objectHandle, int order)

Arguments

  • objectHandle: the handle of the object
  • order: the desired zero-based position

Return

  • -1 if operation was not successful