Sorting SIM_ObjectArray based on position

   1540   0   0
User Avatar
Member
81 posts
Joined: 7月 2010
Offline
In the HDK, I am trying to sort a SIM_ObjectArray based on the y-position of the objects. Is this possible? The SIM_ObjectArray should automatically sort based on a Comparator that I give it, but I do not know how the Comparators work. Does anyone have an example using Comparators?
  • Quick Links