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

Circle entityzone? #48

Closed regalonefour closed 1 year ago

regalonefour commented 2 years ago

Not an issue but wondering if it is posssible to give the option to create a circle entity zone rather than just a box zone?

mkafrin commented 2 years ago

Hmm, I've avoided doing it before because I figured most people would just use a distance check. I made EntityZones as box zones because there's a lot of additional logic involved for box zones (compared to just a dist check for circle zones).

But if it's something you think you'd find a use for, I can think about adding it to the next update. No guarantees, but I'll add the feature request label to this and leave it open until I make a decision.

ItsANoBrainer commented 2 years ago

+1