Commit Graph
17 Commits
Author SHA1 Message Date
DokaDoka 0ecb968202 feat(resource): zone creator 2022-09-14 00:05:08 +10:00
DokaDoka d2178ca258 fix(interface/context): correct id if a float is received
- the array part of a mixed options table registers a '1.0' and so on, this is not how the option is recorded on the lua side
2022-06-04 22:12:04 +10:00
DokaDoka 9a019d61ed tweak(vehicleProperties): increase timeout when setting properties 2022-06-01 15:09:49 +10:00
DokaDoka d52d5adac2 fix(zones): debug thickness misalignment and standardize defaults
all total sizes now default to 4
2022-05-14 12:45:50 +10:00
DokaDoka 14ce365de1 fix(zones): thickness workaround
thickness is calculated incorrectly by glm.polygon.contains so this is required until it is fixed
2022-05-14 12:34:12 +10:00
DokaDoka 6a8ebb5a0d chore(zones): rearrange variables 2022-05-11 13:38:27 +10:00
DokaDoka 2a1ae2e287 feat(zones): consistent zone debug appearance
through merging debugPoly and debugBox
2022-05-11 13:36:36 +10:00
DokaDoka 38dbc2ac34 refactor(zones): create data.triangles even if the polygon is convex 2022-05-11 13:34:06 +10:00
DokaDoka 9b5ac35ab3 refactior(zones): make makeTriangles available outside of getTriangles 2022-05-11 13:29:18 +10:00
DokaDoka 1080efb0cf fix(vehicleProperties): wait until entity exists before setting vehicle properties 2022-05-08 17:36:17 +10:00
DokaDoka 18f55ffefe refactor(zones): handle multiple points in the same horizontal line
- new intersection points are generated per vertical coord present in the original polygon rather than per vertex and are grouped together rather than associated directly with the parent
- hopefully better code structure and organisation for the entire triangle generating section
2022-05-01 12:49:56 +10:00
DokaDoka 65787d3b6d fix(zones): draw complex polygons properly
convex polygons are split into triangles more simply
complex polygons are split into trapezoids and then triangles to be drawn
2022-04-29 00:41:21 +10:00
DokaDoka de201dcf03 feat(zones): box
streamlined rectangle polygon creation for the lazy, with rotation
2022-04-26 23:06:23 +10:00
DokaDoka adb110d8d8 feat(imports/zones): basic glm polygon zones
build on the points structure
2022-04-25 20:28:10 +10:00
DokaDoka b935d9b58c fix(resource/streaming): don't use HasModelLoaded for everything 2021-12-24 11:36:16 +11:00
DokaDoka cb0b99e147 fix(resource/streaming): print default when limit is nil 2021-12-24 09:42:14 +11:00
DokaDoka a17a8c464b fix(resource/streaming): use correct variable names 2021-11-17 19:33:48 +11:00