Hel Posted November 19, 2016 Share Posted November 19, 2016 Hey guys, I'm trying to define an area that isn't a rectangle, for a visual representation, I have this as what I want to do. (Red lines define the area edge.)The way I'm doing this so far, is by creating two different, rectangular areas, which I do not like, as it does mean making a check if something is within either of the areas + it does look a bit messy. (Red is area 1, Blue is area 2).TL;DR: How do I combine two (or more) areas to create one area. Link to comment Share on other sites More sharing options...
Juggles Posted November 19, 2016 Share Posted November 19, 2016 (edited) http://explv.github.io/Poly Area Like this Edited November 19, 2016 by Juggles 1 Link to comment Share on other sites More sharing options...
Chris Posted November 19, 2016 Share Posted November 19, 2016 http://explv.github.io/# 1 Link to comment Share on other sites More sharing options...
Hel Posted November 19, 2016 Author Share Posted November 19, 2016 (edited) /* Alright, second challenge, I'm checking if the closest ground item is within an area, using an array of areas (I do believe that is what that is, anyway), this doesn't work. Any work arounds? */EDIT: got it working, thanks for the help boys Edited November 19, 2016 by viri Link to comment Share on other sites More sharing options...
Saiyan Posted November 19, 2016 Share Posted November 19, 2016 Locking this. Glad you found the correct method/answer Link to comment Share on other sites More sharing options...