{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/6321","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/6321/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/6321/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/6321/events","html_url":"https://github.com/mrdoob/three.js/issues/6321","id":65630957,"number":6321,"title":"EdgeHelper position and matrix.","user":{"login":"alphamax","id":10722632,"avatar_url":"https://avatars.githubusercontent.com/u/10722632?v=3","gravatar_id":"","url":"https://api.github.com/users/alphamax","html_url":"https://github.com/alphamax","followers_url":"https://api.github.com/users/alphamax/followers","following_url":"https://api.github.com/users/alphamax/following{/other_user}","gists_url":"https://api.github.com/users/alphamax/gists{/gist_id}","starred_url":"https://api.github.com/users/alphamax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphamax/subscriptions","organizations_url":"https://api.github.com/users/alphamax/orgs","repos_url":"https://api.github.com/users/alphamax/repos","events_url":"https://api.github.com/users/alphamax/events{/privacy}","received_events_url":"https://api.github.com/users/alphamax/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-01T08:23:06Z","updated_at":"2015-04-02T00:55:42Z","closed_at":"2015-04-01T22:49:16Z","body":"Hello,\r\n\r\nIt is an humble ticket and i hope i don't loose your precious time.\r\n\r\nThis ticket is about positioning Edges in the class **THREE.EdgesHelper**. I just ported a previous version of my app to r71 and i was positioning issues. After comparing the two classes, i saw that the last lines of the class setting matrix and not matrixworld. It may be normal:\r\nActual code :\r\n```javascript\r\n    this.matrix = object.matrixWorld;\r\n    this.matrixAutoUpdate = false;\r\n```\r\nMy humble fix :\r\n```javascript\r\n    this.matrixWorld = object.matrixWorld;\r\n    this.matrixAutoUpdate = false;\r\n```\r\n\r\nProblem is on an object 3D **O**, previously moved, and containing a mesh **M** and an edge **E**.\r\nIf i properly understand, the matrixWorld of **M** is having the position of **M** combined with the position of **O** so the actual code is putting the **E** on a fixed position and if **O** is moved, it will not be properly composed. Am i right ?"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/88677341","html_url":"https://github.com/mrdoob/three.js/issues/6321#issuecomment-88677341","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/6321","id":88677341,"user":{"login":"WestLangley","id":1000017,"avatar_url":"https://avatars.githubusercontent.com/u/1000017?v=3","gravatar_id":"","url":"https://api.github.com/users/WestLangley","html_url":"https://github.com/WestLangley","followers_url":"https://api.github.com/users/WestLangley/followers","following_url":"https://api.github.com/users/WestLangley/following{/other_user}","gists_url":"https://api.github.com/users/WestLangley/gists{/gist_id}","starred_url":"https://api.github.com/users/WestLangley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WestLangley/subscriptions","organizations_url":"https://api.github.com/users/WestLangley/orgs","repos_url":"https://api.github.com/users/WestLangley/repos","events_url":"https://api.github.com/users/WestLangley/events{/privacy}","received_events_url":"https://api.github.com/users/WestLangley/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T00:55:42Z","updated_at":"2015-04-02T00:55:42Z","body":"> It probably makes sense to turn EdgesHelper into EdgesGeometry like I did with WireframeHelper\r\n\r\nI like it!\r\n\r\n\tvar geometry = new THREE.EdgesGeometry( mesh.geometry );\r\n\tvar material = new THREE.LineBasicMaterial( { color: 0xff8000, linewidth: 4 } );\r\n\tvar edges = new THREE.Line( geometry, material, THREE.LinePieces );\r\n\tscene.add( edges );\r\n"}}