Creating a raycast from the camera rig, from unity Exporter

Hi Everyone!

We are trying to create basic interactions using the CameraRig from a unity scene, mainly to be able to interact with meshes and elements inside the scene, but we have not been successful on how to grab the information of the camera in the unity scene and create a raycast in typescript.

we would be greatly grateful if you could pinpoint us to the documentation or give us some directions on how to approach this.

Hi @SergioMPL! Welcome to the Babylon forum!!!

@MackeyK24 is the guru of Unity - Babylon. I’m sure he can add some wisdom here.