Has anyone seen an example or know how BabylonJS works with reticles when going into VR mode? I'm looking into having a custom reticle or cursor in my scene to use as a targeting crosshair. My thoughts were to use ray casting.
I would create a plane in front of the my camera that will be textured with a crosshair image
Create a Ray from the middle of a plane out into my scene.
Then pick the 3D Object that it hits first.
Allow it to work with switching to multiple cameras types for when in VR or not.
I know there are ways of doing this. I'm just a bit confused with the implantation. Anyone have any thought?
Thanks in advance!
Shane