{"action":"closed","issue":{"url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/2957","repository_url":"https://api.github.com/repos/Facepunch/garrysmod-issues","labels_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/2957/labels{/name}","comments_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/2957/comments","events_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/2957/events","html_url":"https://github.com/Facepunch/garrysmod-issues/issues/2957","id":194772529,"number":2957,"title":"Toolgun traces sometimes go through entities which have a parent","user":{"login":"ARitz-Cracker","id":5233816,"avatar_url":"https://avatars.githubusercontent.com/u/5233816?v=3","gravatar_id":"","url":"https://api.github.com/users/ARitz-Cracker","html_url":"https://github.com/ARitz-Cracker","followers_url":"https://api.github.com/users/ARitz-Cracker/followers","following_url":"https://api.github.com/users/ARitz-Cracker/following{/other_user}","gists_url":"https://api.github.com/users/ARitz-Cracker/gists{/gist_id}","starred_url":"https://api.github.com/users/ARitz-Cracker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ARitz-Cracker/subscriptions","organizations_url":"https://api.github.com/users/ARitz-Cracker/orgs","repos_url":"https://api.github.com/users/ARitz-Cracker/repos","events_url":"https://api.github.com/users/ARitz-Cracker/events{/privacy}","received_events_url":"https://api.github.com/users/ARitz-Cracker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"robotboy655","id":3299036,"avatar_url":"https://avatars.githubusercontent.com/u/3299036?v=3","gravatar_id":"","url":"https://api.github.com/users/robotboy655","html_url":"https://github.com/robotboy655","followers_url":"https://api.github.com/users/robotboy655/followers","following_url":"https://api.github.com/users/robotboy655/following{/other_user}","gists_url":"https://api.github.com/users/robotboy655/gists{/gist_id}","starred_url":"https://api.github.com/users/robotboy655/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robotboy655/subscriptions","organizations_url":"https://api.github.com/users/robotboy655/orgs","repos_url":"https://api.github.com/users/robotboy655/repos","events_url":"https://api.github.com/users/robotboy655/events{/privacy}","received_events_url":"https://api.github.com/users/robotboy655/received_events","type":"User","site_admin":false},"assignees":[{"login":"robotboy655","id":3299036,"avatar_url":"https://avatars.githubusercontent.com/u/3299036?v=3","gravatar_id":"","url":"https://api.github.com/users/robotboy655","html_url":"https://github.com/robotboy655","followers_url":"https://api.github.com/users/robotboy655/followers","following_url":"https://api.github.com/users/robotboy655/following{/other_user}","gists_url":"https://api.github.com/users/robotboy655/gists{/gist_id}","starred_url":"https://api.github.com/users/robotboy655/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robotboy655/subscriptions","organizations_url":"https://api.github.com/users/robotboy655/orgs","repos_url":"https://api.github.com/users/robotboy655/repos","events_url":"https://api.github.com/users/robotboy655/events{/privacy}","received_events_url":"https://api.github.com/users/robotboy655/received_events","type":"User","site_admin":false}],"milestone":null,"comments":17,"created_at":"2016-12-10T15:00:44Z","updated_at":"2016-12-12T18:45:33Z","closed_at":"2016-12-12T18:45:33Z","body":"### Details\r\n* This does NOT happen with player:GetEyeTrace()\r\n* The incorrect position only seems to be on the server\r\n* I was running a listen server when I tested this\r\n\r\nAfter creating this hook\r\n```\r\nhook.Add(\"CanTool\",\"willox pls fix\",function( ply, tr, tool )\r\n\tprint(tr.HitPos)\r\nend)\r\n```\r\nAnd spamming the color tool on a prop which has another prop as its parent, this happens!\r\n```\r\nS:-409.982605 -21.807470 -12287.968750\r\nC:-89.182434 3.913074 -12246.241211\r\nC:-89.182434 3.913074 -12246.241211\r\nS:-409.982605 -21.807470 -12287.968750 // Woah!\r\nC:-89.182434 3.913074 -12246.241211\r\nC:-89.182434 3.913074 -12246.241211\r\nS:-409.982605 -21.807470 -12287.968750 // Woah, again!\r\nC:-89.182434 3.913074 -12246.241211\r\nS:-89.176514 3.913548 -12246.240234\r\nC:-89.182434 3.913074 -12246.241211\r\nS:-89.176514 3.913548 -12246.240234\r\nC:-89.182434 3.913074 -12246.241211\r\nS:-89.176514 3.913548 -12246.240234\r\nC:-89.182434 3.913074 -12246.241211\r\n```\r\n\r\n### Steps to reproduce\r\n1. Create that hook in the shared space\r\n2. Parents a prop to another prop using entity:SetParent()\r\n3. Spam a tool on the child prop\r\n4. Cry - this step should only apply to you if you're making an addon that requires the HitPos to always be accurate\r\n"}}
{"actor":{"display_login":"robotboy655"}}