sim.getObjectHierarchyOrder

Retrieves the zero-based position of an object among its siblings in the scene hierarchy

Synopsis

int order, int totalSiblingsCount = sim.getObjectHierarchyOrder(int objectHandle) int order, int totalSiblingsCount = sim.getObjectHierarchyOrder(int objectHandle)

Arguments

  • objectHandle: the handle of the object

Return values

  • order: the position of the object
  • totalSiblingsCount: the total siblings count