Hello, I am trying to achieve the same result as shown in the photo
so I am trying to make creat directional light helper and control it with transform controls
const light_container = new THREE.Object3D();
light_container.name = "DirectionalLight";
light_container.lookAt(new THREE.Vector3());
const directional_light = new THREE.DirectionalLight(0xffffff, 0.5);
directional_light.position.set(0, 0, 0);
light_container.add(directional_light);
var helper = new THREE.DirectionalLightHelper(
directional_light,
5,
"#dc3545"
);
helper.position.set(0, 0, 0);
light_container.add(helper);
transform_controls.attach(light_container );
this is part of my code and it is working not correctly
thank you in advance