{"action":"created","issue":{"url":"https://api.github.com/repos/libgdx/box2dlights/issues/40","labels_url":"https://api.github.com/repos/libgdx/box2dlights/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/libgdx/box2dlights/issues/40/comments","events_url":"https://api.github.com/repos/libgdx/box2dlights/issues/40/events","html_url":"https://github.com/libgdx/box2dlights/issues/40","id":52969768,"number":40,"title":"Allow to set the length of shadows","user":{"login":"haimat","id":6633976,"avatar_url":"https://avatars.githubusercontent.com/u/6633976?v=3","gravatar_id":"","url":"https://api.github.com/users/haimat","html_url":"https://github.com/haimat","followers_url":"https://api.github.com/users/haimat/followers","following_url":"https://api.github.com/users/haimat/following{/other_user}","gists_url":"https://api.github.com/users/haimat/gists{/gist_id}","starred_url":"https://api.github.com/users/haimat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haimat/subscriptions","organizations_url":"https://api.github.com/users/haimat/orgs","repos_url":"https://api.github.com/users/haimat/repos","events_url":"https://api.github.com/users/haimat/events{/privacy}","received_events_url":"https://api.github.com/users/haimat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libgdx/box2dlights/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2014-12-28T00:55:29Z","updated_at":"2015-02-07T19:34:15Z","closed_at":null,"body":"Currently in box2dlights a box2d body either casts a shadow or not, there is no in-between. However, in my application I need to specify the length of the shadow for each object, depending on the objects height (in order to simulate a 3d effect).\r\n\r\nFor example, if the object that would cast the shadow is tall then the shadow is long. But if the object is small, not as tall as the light source height, then the shadow would be shorter.\r\n\r\nWould it be hard to implement such a feature in box2dlights?"},"comment":{"url":"https://api.github.com/repos/libgdx/box2dlights/issues/comments/73379159","html_url":"https://github.com/libgdx/box2dlights/issues/40#issuecomment-73379159","issue_url":"https://api.github.com/repos/libgdx/box2dlights/issues/40","id":73379159,"user":{"login":"rinold","id":2253795,"avatar_url":"https://avatars.githubusercontent.com/u/2253795?v=3","gravatar_id":"","url":"https://api.github.com/users/rinold","html_url":"https://github.com/rinold","followers_url":"https://api.github.com/users/rinold/followers","following_url":"https://api.github.com/users/rinold/following{/other_user}","gists_url":"https://api.github.com/users/rinold/gists{/gist_id}","starred_url":"https://api.github.com/users/rinold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinold/subscriptions","organizations_url":"https://api.github.com/users/rinold/orgs","repos_url":"https://api.github.com/users/rinold/repos","events_url":"https://api.github.com/users/rinold/events{/privacy}","received_events_url":"https://api.github.com/users/rinold/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T19:34:15Z","updated_at":"2015-02-07T19:34:15Z","body":"I've updated code, should fix this issue. Btw, non-convex polygons still are not supported correctly, but should work fine with convex shapes."}}