Improve RoomPosition.findClosestBy*() Doc Clarity
Opened this issue · 1 comments
Lujia-Cheng commented
RoomPosition.findClosestByPath(type, [opts]) will look for objects in the same room and RoomPosition.findClosestByPath(objects, [opts]) will check all objects passed in.
However, RoomPosition.findClosestByRange(objects, [opts]) will only check for objects in the same room, ignoring any objects in other rooms, which is inconsistent with the previous method.
Would you add some clarification about this in the api?
o4kapuk commented
Thanks, we'll look into it