mkafrin / PolyZone

PolyZone is a FiveM mod to define zones of different shapes and test whether a point is inside or outside of the zone
MIT License
204 stars 191 forks source link

Support EntityZones inside ComboZones #25

Closed mkafrin closed 4 years ago

mkafrin commented 4 years ago

EntityZones won't work properly in ComboZones currently because of the grid optimization assuming zones are static positionally. EntityZones should probably just be stored in a separate list in ComboZones to get around this.

mkafrin commented 4 years ago

Implementation added here 6d7f25d22b857ee52e713d90d01b5b9f550644c6 in separate branch. Not sure the increase in complexity is worth adding this, especially given the very low use of EntityZones. Closing this for now, but may revisit in the future.