three.js icon indicating copy to clipboard operation
three.js copied to clipboard

EdgesHelper / WireframeHelper rotation out of sync when nested

Open Tolmark12 opened this issue 10 years ago • 1 comments

When nesting an EdgesHelper item and a mesh item within an Object3D parent item, and then applying a rotation to the Object3D, the EdgesHelper item rotates exactly twice as fast as the mesh item. I've confirmed that this also occurs with the wireframe helper.

Example: http://jsfiddle.net/tolmark12/b0zz3Lu8/5/

Tolmark12 avatar Feb 26 '16 19:02 Tolmark12

You need to add the helper to the scene directly.

http://jsfiddle.net/b0zz3Lu8/6/

WestLangley avatar Feb 26 '16 20:02 WestLangley