{"action":"closed","issue":{"url":"https://api.github.com/repos/prime31/CharacterController2D/issues/45","repository_url":"https://api.github.com/repos/prime31/CharacterController2D","labels_url":"https://api.github.com/repos/prime31/CharacterController2D/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/prime31/CharacterController2D/issues/45/comments","events_url":"https://api.github.com/repos/prime31/CharacterController2D/issues/45/events","html_url":"https://github.com/prime31/CharacterController2D/issues/45","id":55027597,"number":45,"title":"Descending from OneWayPlatform","user":{"login":"wyemun","id":633259,"avatar_url":"https://avatars.githubusercontent.com/u/633259?v=3","gravatar_id":"","url":"https://api.github.com/users/wyemun","html_url":"https://github.com/wyemun","followers_url":"https://api.github.com/users/wyemun/followers","following_url":"https://api.github.com/users/wyemun/following{/other_user}","gists_url":"https://api.github.com/users/wyemun/gists{/gist_id}","starred_url":"https://api.github.com/users/wyemun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyemun/subscriptions","organizations_url":"https://api.github.com/users/wyemun/orgs","repos_url":"https://api.github.com/users/wyemun/repos","events_url":"https://api.github.com/users/wyemun/events{/privacy}","received_events_url":"https://api.github.com/users/wyemun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-01-21T14:47:03Z","updated_at":"2016-10-10T16:16:24Z","closed_at":"2016-10-10T16:16:24Z","body":"In some games, which allows player to jump-down / descend (usually by pressing down + jump).\r\n\r\nThe way which I have implemented such functionality is by adding a new optional arg to:\r\n```\r\nprivate void moveVertically( ref Vector3 deltaMovement, bool descend = false ) {\r\n```\r\nand in the same method\r\n```\r\nif(descend)\r\n    mask &= ~oneWayPlatformMask;\r\n```\r\n\r\nThe *descend* boolean will be flagged as true whenever the player trigger the down+jump combo.\r\n\r\nI wonder if there's any better way to implement this?"}}
{"actor":{"display_login":"prime31"}}