{"action":"opened","issue":{"url":"https://api.github.com/repos/Regalis11/Barotrauma/issues/303","repository_url":"https://api.github.com/repos/Regalis11/Barotrauma","labels_url":"https://api.github.com/repos/Regalis11/Barotrauma/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/Regalis11/Barotrauma/issues/303/comments","events_url":"https://api.github.com/repos/Regalis11/Barotrauma/issues/303/events","html_url":"https://github.com/Regalis11/Barotrauma/issues/303","id":301774619,"number":303,"title":"Some new features with Throwable?","user":{"login":"ChikoEduardo","id":36773474,"avatar_url":"https://avatars3.githubusercontent.com/u/36773474?v=4","gravatar_id":"","url":"https://api.github.com/users/ChikoEduardo","html_url":"https://github.com/ChikoEduardo","followers_url":"https://api.github.com/users/ChikoEduardo/followers","following_url":"https://api.github.com/users/ChikoEduardo/following{/other_user}","gists_url":"https://api.github.com/users/ChikoEduardo/gists{/gist_id}","starred_url":"https://api.github.com/users/ChikoEduardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChikoEduardo/subscriptions","organizations_url":"https://api.github.com/users/ChikoEduardo/orgs","repos_url":"https://api.github.com/users/ChikoEduardo/repos","events_url":"https://api.github.com/users/ChikoEduardo/events{/privacy}","received_events_url":"https://api.github.com/users/ChikoEduardo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-02T13:59:19Z","updated_at":"2018-03-02T13:59:19Z","closed_at":null,"author_association":"NONE","body":"There seems to be no holdpos code for throwable items so even two-handed items are carried in one hand until you aim them.\r\n\r\nIn versions prior to the 0.8.0.X of the game, I found a way to \"fix\" this by using this piece of xml code:\r\n```\r\n\t<Holdable slots=\"RightHand+LeftHand\" holdpos=\"40,-30\" aimpos=\"45,-20\" handle1=\"-30,14\" handle2=\"30,-7\"/>\r\n\t\r\n\t<Throwable slots=\"RightHand+LeftHand\" throwforce=\"3.0\"/>\r\n```\r\nNot only it allowed two-handed items to be carried with both hands but it also changed the aiming animation. Instead of raising the arms for the throw, aiming would instead work in a similar fashion to aiming a gun. This would affect the throw, making it look like the character is shoving the object forward and preventing big objects from hitting the ceiling.\r\n\r\nThis no longer works and causes a number of glitches. Could we maybe have the ability to use holdpos in the Throwable code and have another piece of code that uses the aiming from Holdable instead?"}}
{"actor":{"display_login":"ChikoEduardo"}}