Looks like the reason is
because in the app I’m in, we traverse TransformControls
to place it in its own layer, and the raycaster
now does not match the same layer.
Furthermore, the raycaster
variable is private inside the TransformControls
constructor, so it can not be modified.
To fix the issue I need to either
- fork
TransformControls
and runraycaster.layers.enable(transformControlsLayer)
within the constructor - or don’t put
TransformControls
in any layer other than default.