You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Lujia-Cheng
changed the title
Improve RoomPosition.findClosestBy*() doc clarity
Improve RoomPosition.findClosestBy*() Doc Clarity
Mar 28, 2019
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?
The text was updated successfully, but these errors were encountered: