VR Zoom in and out

Hello ! it seems in VR that the controllers (quest2) only offer x and z moving (pan) and “scale at” when pointing at an object and pressing the A button.

Is there a script or an option enabling the common Zoom in and out function in VR (commonly grab buttons pressed and moving controllers together (zoom in) or away from each other (zoom out). ?

If not, can we have access to the left and right controller Transforms as well as the grip buttons, in order to implement it ourselves ?

Original Post on Discord

by user 700879811085598831

You can get the controllers via WebXR static properties.
There’s a thread about the controllers, let me find it

You can find more information there about how to modify the currently existing code. That should make it possible for now. Updating the WebXR implementation is on the roadmap to make things like that easier without hacks