I’m trying to use PivotControls from Drei to move a light in my R3F scene but when I add the anchor prop, the gizmo disappears. Without the anchor it works fine.
<PivotControls depthTest={false} anchor={[0, 0, 0]}>
<directionalLight
ref={dir_light_ref}
position={[1, 2, 3]}
intensity={4.5}
castShadow
/>
</PivotControls>
Am I using the anchor prop wrong? I just want it attached to the directional light witch also has an helper:
useHelper(dir_light_ref, THREE.DirectionalLightHelper, 2, "#ff0000");