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
202 stars 193 forks source link

EntityZone: Add padding option #39

Closed harryrford closed 3 years ago

harryrford commented 3 years ago

added entity padding option to extend length and width. tested with dumpsters and moving cars. negative padding values also work.

image

mkafrin commented 3 years ago

I appreciate the PR, but how is this different than the offset option seen here? As the docs state for EntityZones, they take all the same options as a BoxZone, so the offset I think is what you're doing here, but if I'm misunderstanding, let me know.

harryrford commented 3 years ago

thanks man apologies for not reading the wiki properly. scale / offset covers it all and what I was looking for.