Joseph Posted July 21, 2014 Share Posted July 21, 2014 How exactly do i use it. I tried creating a PositionPolygon using just one position, then painting it using getPolygon. But nothing happens. Even before that i created the PositionPolygon, and used the methods contains entity position. And still nothing -.- Link to comment Share on other sites More sharing options...
Swizzbeat Posted July 21, 2014 Share Posted July 21, 2014 The same way you would create a normal polygon object. You have to pass it points that connect together to actually create the shape. Link to comment Share on other sites More sharing options...
Joseph Posted July 21, 2014 Author Share Posted July 21, 2014 The same way you would create a normal polygon object. You have to pass it points that connect together to actually create the shape. so then were not allowed to create a one position polygon Link to comment Share on other sites More sharing options...
Khaleesi Posted July 21, 2014 Share Posted July 21, 2014 (edited) Just check the internet for a 2D polygon and you'll see what you have to do ^^ so then were not allowed to create a one position polygon Why would you even do this? You can't make an area with 1 point (called a point) You can't make an area with 2 points connected with an edge. (called a Line) When you have 3 posiitons added it is called a triangle. With 4 points you'll get a a more complex shape. and so on Khaleesi Edited July 21, 2014 by Khaleesi 1 Link to comment Share on other sites More sharing options...
Phoenix21 Posted July 27, 2014 Share Posted July 27, 2014 Thank you for great answer! Appreciated Link to comment Share on other sites More sharing options...