Hello,
I use two cameras corresponding to two point-of-view of a scene.
When I switch from one camera to the other, I see the rayHelper of the other, but not this of the current one.
let rayName = `${jsnCamera.babName}.ray`
let pickingRay = new BABYLON.Ray( babHdl_camera.position, newPosition, babHdl_camera.getDirection(BABYLON.Vector3.Forward()))
let rayHelperName = `${jsnCamera.babName}.rayHelper`
let rayHelper = new BABYLON.RayHelper(pickingRay)
rayHelper.show(scene)
I have tried to start the ray some unit up of the camera position (on y axis) , but this does’nt change nothing.
Any idea ?
Best regards