{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/7227","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/7227/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/7227/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/7227/events","html_url":"https://github.com/godotengine/godot/issues/7227","id":193003626,"number":7227,"title":"Kinematic body (3d) not using layer/mask correctly","user":{"login":"sketchyfun","id":10464013,"avatar_url":"https://avatars.githubusercontent.com/u/10464013?v=3","gravatar_id":"","url":"https://api.github.com/users/sketchyfun","html_url":"https://github.com/sketchyfun","followers_url":"https://api.github.com/users/sketchyfun/followers","following_url":"https://api.github.com/users/sketchyfun/following{/other_user}","gists_url":"https://api.github.com/users/sketchyfun/gists{/gist_id}","starred_url":"https://api.github.com/users/sketchyfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sketchyfun/subscriptions","organizations_url":"https://api.github.com/users/sketchyfun/orgs","repos_url":"https://api.github.com/users/sketchyfun/repos","events_url":"https://api.github.com/users/sketchyfun/events{/privacy}","received_events_url":"https://api.github.com/users/sketchyfun/received_events","type":"User","site_admin":false},"labels":[{"id":73330064,"url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222","default":true},{"id":370471880,"url":"https://api.github.com/repos/godotengine/godot/labels/topic:physics","name":"topic:physics","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-02T00:42:47Z","updated_at":"2016-12-02T12:38:00Z","closed_at":null,"body":"**Operating system or device - Godot version:**\r\nWindows 7, custom build from November\r\n\r\n\r\n**Issue description** (what happened, and what was expected):\r\n\r\nMy understanding is that a physics object that has it's layer set to 1, and it's mask set to 2 will only collide with an object that has it's own layer set to 2\r\n\r\nIn the demo project I've attached, both kinematic bodies have their layers set to 1 and their masks set to 2. As far as I'm aware, this should mean that the two bodies shouldn't collide, yet they both stop when they reach each other.\r\n\r\nConversely, if you set the first objects layer to 1 and it's mask to 2, and the other objects layer to 2 and mask to 1, they should technically collide with each other, but instead they pass straight through.\r\n\r\nWondering if it was related to this issue? https://github.com/godotengine/godot/issues/872\r\n\r\n**Steps to reproduce:**\r\n\r\nDownload and run the attached project. The first scenario I've described is already set up to run, but you'll have to manually edit the two bodies to test the second scenario I mentioned.\r\n\r\n\r\n**Link to minimal example project** (optional but very welcome):\r\n\r\nhttps://dl.dropboxusercontent.com/u/3292249/kinematic3d_bug.zip"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/264445326","html_url":"https://github.com/godotengine/godot/issues/7227#issuecomment-264445326","issue_url":"https://api.github.com/repos/godotengine/godot/issues/7227","id":264445326,"user":{"login":"bojidar-bg","id":5276727,"avatar_url":"https://avatars.githubusercontent.com/u/5276727?v=3","gravatar_id":"","url":"https://api.github.com/users/bojidar-bg","html_url":"https://github.com/bojidar-bg","followers_url":"https://api.github.com/users/bojidar-bg/followers","following_url":"https://api.github.com/users/bojidar-bg/following{/other_user}","gists_url":"https://api.github.com/users/bojidar-bg/gists{/gist_id}","starred_url":"https://api.github.com/users/bojidar-bg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojidar-bg/subscriptions","organizations_url":"https://api.github.com/users/bojidar-bg/orgs","repos_url":"https://api.github.com/users/bojidar-bg/repos","events_url":"https://api.github.com/users/bojidar-bg/events{/privacy}","received_events_url":"https://api.github.com/users/bojidar-bg/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T12:38:00Z","updated_at":"2016-12-02T12:38:00Z","body":"Wait, you mean that Rigid-Rigid works fine, right? :smiley: \r\n\r\nIf so, that would limit the bug to the move function..."}}
{"actor":{"display_login":"bojidar-bg"}}