Difference between getController(id) and getControllerGrip(id)

In the WebXRManager, what’s the difference between getController() and getControllerGrip()? They both seem to give me an Object3D with position data of the controllers getting updated. Just curious so I know if I should prefer to use one over the other in different situations

Thanks,
–Gaurav

What a coincidence! I’ve added more documentation about WebXRManager just yesterday! It actually explains the difference between both methods. Here is a link to the dev version of it:

https://raw.githack.com/mrdoob/three.js/dev/docs/index.html#api/en/renderers/webxr/WebXRManager

1 Like

Ah awesome, thanks a bunch! The documentation does a good job of explaining when to use which. I was still a little confused on the “why” aspect of this as I didn’t understand how exactly target ray space and grip space were different, but that led to looking at the WebXR Device API itself for those definitions which cleared things up