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
Added Zone:getShapeWithPoint(point: vector) -> ShapeInstance? and Zone:getShapeWithBox(cframe: CFrame, size: vector) -> ShapeInstance? for people who wish to get the corresponding shape a point/box is inside of.
ZoneItems passed to ZoneListener listener callbacks now have a special shape: ShapeInstance? field pointing to what ShapeInstance the item has entered/exited. (This field will be nil during initial callback call in the case of ZoneListener:observe(), but also when the listener unsubscribes from that zone, when the item itself is being destroyed, parented to nil, etc.)
Listener callbacks of ZoneListeners will now error if they yield
Added ShapeInstance.metadata: {[string]: any} field
Zone:rebuild() now uses Bvh.updateBvh() instead of Bvh.createBvh(). This change comes because shapeInst is now a field stored inside leaf BvhNodes and thus it is now possible to update the corresponding branches correctly using comparison.