How can I fix the arrow heads direction of the transformcontrols?
Depending on the camera angle, they point backwards.
had to modify the module:
(line864)
var gizmoTranslate = {
X: [
[ new Mesh( arrowGeometry, matRed ), [ 1, 0, 0 ], [ 0, 0, - Math.PI / 2 ], null, 'fwd' ],
[ new Mesh( arrowGeometry, matRed ), [ 1, 0, 0 ], [ 0, 0, - Math.PI / 2 ], null, 'bwd' ],
[ new Line( lineGeometry, matLineRed ) ]
],
Y: [
[ new Mesh( arrowGeometry, matGreen ), [ 0, 1, 0 ], null, null, 'fwd' ],
[ new Mesh( arrowGeometry, matGreen ), [ 0, 1, 0 ], null, null, 'bwd' ],
[ new Line( lineGeometry, matLineGreen ), null, [ 0, 0, Math.PI / 2 ]]
],
Z: [
[ new Mesh( arrowGeometry, matBlue ), [ 0, 0, 1 ], [ Math.PI / 2, 0, 0 ], null, 'fwd' ],
[ new Mesh( arrowGeometry, matBlue ), [ 0, 0, 1 ], [ Math.PI / 2, 0, 0 ], null, 'bwd' ],
[ new Line( lineGeometry, matLineBlue ), null, [ 0, - Math.PI / 2, 0 ]]
],