{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/21560","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/21560/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/21560/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/21560/events","html_url":"https://github.com/godotengine/godot/issues/21560","id":355106696,"node_id":"MDU6SXNzdWUzNTUxMDY2OTY=","number":21560,"title":"KinematicBody2D using move_and_collide makes other colliding KinematicBody2D move","user":{"login":"samdze","id":19392104,"node_id":"MDQ6VXNlcjE5MzkyMTA0","avatar_url":"https://avatars3.githubusercontent.com/u/19392104?v=4","gravatar_id":"","url":"https://api.github.com/users/samdze","html_url":"https://github.com/samdze","followers_url":"https://api.github.com/users/samdze/followers","following_url":"https://api.github.com/users/samdze/following{/other_user}","gists_url":"https://api.github.com/users/samdze/gists{/gist_id}","starred_url":"https://api.github.com/users/samdze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdze/subscriptions","organizations_url":"https://api.github.com/users/samdze/orgs","repos_url":"https://api.github.com/users/samdze/repos","events_url":"https://api.github.com/users/samdze/events{/privacy}","received_events_url":"https://api.github.com/users/samdze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-29T10:58:23Z","updated_at":"2018-09-11T09:55:46Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- Please search existing issues for potential duplicates before filing yours:\r\nhttps://github.com/godotengine/godot/issues?q=is%3Aissue\r\n-->\r\n\r\n**Godot version:**\r\nGodot 3.0.6 and custom build 12290c172a6dd3763670d36039fbac8198e711f5\r\n\r\n\r\n**OS/device including version:**\r\nWindows 10 64 bit\r\n\r\n\r\n**Issue description:**\r\nWhen a KinematicBody2D collides with another KinematicBody2D, they make each othe move if their movement is not parallel.\r\nReducing the safe margin mitigates the problem but doesn't completely solve it.\r\n\r\nHere the object to the left performs `move_and_collide(Vector2(15 * delta, 0))` and the one the right `move_and_collide(Vector2(0, 0))` inside _physics_process. Safe margin is default 0.08.\r\n![](https://i.imgur.com/8zMBvNf.gif)\r\nProbably related to #18433\r\n\r\n**Minimal reproduction project:**\r\n[move_and_collide_test.zip](https://github.com/godotengine/godot/files/2331832/move_and_collide_test.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/420216780","html_url":"https://github.com/godotengine/godot/issues/21560#issuecomment-420216780","issue_url":"https://api.github.com/repos/godotengine/godot/issues/21560","id":420216780,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDIxNjc4MA==","user":{"login":"eon-s","id":10215987,"node_id":"MDQ6VXNlcjEwMjE1OTg3","avatar_url":"https://avatars3.githubusercontent.com/u/10215987?v=4","gravatar_id":"","url":"https://api.github.com/users/eon-s","html_url":"https://github.com/eon-s","followers_url":"https://api.github.com/users/eon-s/followers","following_url":"https://api.github.com/users/eon-s/following{/other_user}","gists_url":"https://api.github.com/users/eon-s/gists{/gist_id}","starred_url":"https://api.github.com/users/eon-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eon-s/subscriptions","organizations_url":"https://api.github.com/users/eon-s/orgs","repos_url":"https://api.github.com/users/eon-s/repos","events_url":"https://api.github.com/users/eon-s/events{/privacy}","received_events_url":"https://api.github.com/users/eon-s/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T09:55:46Z","updated_at":"2018-09-11T09:55:46Z","author_association":"CONTRIBUTOR","body":"The project is using the default safe margin which is too high for this kind of interaction, all the bodies try to separate after move, making it move to the sides, reduce the safe margin to the minimum: `0.001`."}}
{"actor":{"display_login":"eon-s"}}