I have a game, where you select meshes via gaze WebXRPointerSelection. It is working very well but I would love to have a more recognizable Pointer as my space is big and the little white dot is not very recognizable.
xr.pointerSelection.laserPointerDefaultColor allows for some modification, but even if it is red it is small.
So I dug a little bit into the code. First I think the documentation is out of date or maybe I messed something up, because WebXRDefaultExperienceOptions shows
pointerSelectionOptions, but it is not available as option as I believe I saw the teleportation and pointer selection are automatic features of the baseExperience.
To come to the point, I noticed the controller with the pointer name
"controller-0-gaze-none". In my playground it is called
"controller-1-gaze-none-pointer" (through USB-debugging). I think this is the pointer mesh which moves with your gaze, right?
I tried to manipulate this mesh by changing the scaling, but as the inspector suggests it is not a public property without setter. So how can I manipulate this very pointer or make my own one?
Any feedback is welcome (as I believe my code could be better organized in Babylon js style)