Releases: 1ForeverHD/ZonePlus
Releases · 1ForeverHD/ZonePlus
v3.2.0
Added
Zone:onItemEnter(characterOrBasePart, callbackFunction)
Zone:onItemExit(characterOrBasePart, callbackFunction)
- An error warning when a zone is constructed using parts that don't belong to the Default collision group
- Support for non-basepart HeadParts
Changed
- Reorganised checker parts
Fixed
- A bug preventing the disconnection of tracked character parts which resulted in a slight memory leak whenever a player reset or changed bodyparts
v3.1.0
Added
Zone.fromRegion(cframe, size)
zone:relocate()
- Non-workspace zones are finally a possibility! Simply call this and the zones container will be moved into a WorldModel outside of Workspace.- CollectiveWorldModel module
zone.hasRelocated
propertyzone.worldModel
propertyzone.relocationContainer
propertyCollectiveWorldModel.setupWorldModel(zone)
CollectiveWorldModel:GetPartBoundsInBox(cframe, size, overlapParams)
CollectiveWorldModel:GetPartBoundsInRadius(position, radius, overlapParams)
- ``CollectiveWorldModel:GetPartsInPart(part, overlapParams)`
Changed
Zone.new(zoneGroup)
toZone.new(container)
zone.group
property tozone.container
Fixed
- "ZoneController hrp is nil" bug
v3.0.0
Added
Zone:trackItem(characterOrBasePart)
Zone:untrackItem(characterOrBasePart)
Zone.itemEntered
eventZone.itemExited
eventZone:findItem(characterOrBasePart)
ZoneController.setGroup(settingsGroupName, properties)
ZoneController.getGroup(settingsGroupName)
SettingsGroup.onlyEnterOnceExitedAll
propertyZone:bindToGroup(settingsGroupName)
Zone:unbindFromGroup(settingsGroupName)
Zone.settingsGroupName
propertyZone:findPoint(position)
ZoneController.getCharacterSize(character)
Changed
- Internal behaviour to use the new Spatial Query API instead of the Region3 API.
- The default Detection from
Automatic
toCentre
. - The behaviour of Detection
Centre
to include the whole HumanoidRootPart instead of a singular Vector within (this was required due to the new Spatial Query API). Zone:findPart
now returns arraytouchingZoneParts
as its second value.Maid
toJanitor
by howmanysmall.Signal
toGoodSignal
by stravant.ZoneController.getTouchingZones(player)
toZoneController.getTouchingZones(characterOrBasePart)
.
Removed
- RotatedRegion3
ZoneController.getCharacterRegion
ZoneController.verifyTouchingParts
ZoneController.vectorIsBetweenYBounds
ZoneController.getHeightOfParts
Automatic
Detection Enum.
v2.2.3
Fixed
- The incorrect disabling of Seats and VehicleSeats within Part Zones.
v2.2.2
Improved
- The accounting of character parts when removed/added via systems like HumanoidDescriptions.
v2.2.1
Added
- Compatibility for Deferred Events
v2.1.3
Fixed
- A bug that occured when disconnecting localPlayer events
v2.1.2
Fixed
playerExiting
not firing when the player dies and respawns immidately within the zone.- A rare nil checking bug within
getTouchingZones
inZoneController
.
v2.1.1
Fixed
- nil comparison within ZoneController getTouchingZones line 450
v2.1.0
Added
- Detection Enum
zone.enterDetection
zone.exitDetection
zone:setDetection(enumItemName)
- An Optimisation section to Introduction