{"action":"closed","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/3069","labels_url":"https://api.github.com/repos/godotengine/godot/issues/3069/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/3069/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/3069/events","html_url":"https://github.com/godotengine/godot/issues/3069","id":121940215,"number":3069,"title":"CollisionPolygon2D doesn't display colors per generated quadrangle","user":{"login":"vichug","id":4671710,"avatar_url":"https://avatars.githubusercontent.com/u/4671710?v=3","gravatar_id":"","url":"https://api.github.com/users/vichug","html_url":"https://github.com/vichug","followers_url":"https://api.github.com/users/vichug/followers","following_url":"https://api.github.com/users/vichug/following{/other_user}","gists_url":"https://api.github.com/users/vichug/gists{/gist_id}","starred_url":"https://api.github.com/users/vichug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vichug/subscriptions","organizations_url":"https://api.github.com/users/vichug/orgs","repos_url":"https://api.github.com/users/vichug/repos","events_url":"https://api.github.com/users/vichug/events{/privacy}","received_events_url":"https://api.github.com/users/vichug/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222"},{"url":"https://api.github.com/repos/godotengine/godot/labels/junior%20job","name":"junior job","color":"00eeee"},{"url":"https://api.github.com/repos/godotengine/godot/labels/topic:editor","name":"topic:editor","color":"ffdd44"},{"url":"https://api.github.com/repos/godotengine/godot/labels/usability","name":"usability","color":"007700"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-13T19:59:20Z","updated_at":"2016-01-11T02:09:47Z","closed_at":"2016-01-11T02:09:47Z","body":"Not sure of the \"quadrangle\" here. But look at this example : using Godot 1.1\r\n![allthecolors](https://cloud.githubusercontent.com/assets/4671710/11768914/8347527e-a1db-11e5-8ee9-6e9e6887e1a5.png)\r\nand now, with latest 2.x :\r\n![onlybluecolor](https://cloud.githubusercontent.com/assets/4671710/11768944/7771c96a-a1dc-11e5-9975-71d2d38ad0bf.png)\r\n\r\nThis is the same scene, in which there is a sprite for the background, with a CollisionPolygon2D drawn on top of it, for having \"solid\" walls for interaction wiht the player. I suppose this is not a totally 100% correct workflow, but it works.\r\nThe colors were very useful, because the CollisionPolygon2D generates all those \"quadrangles\", i think this is the same be it in 1.x and 2.x ? Anyway there are some rare cases where one quadrangle is not drawn correctly and the collisions are ignored for that buggy area, which can be corrected by moving/adding some points in order to generate the missing quadrangle. "}}