immersive-web / webxr-samples

Samples to demonstrate use of the WebXR Device API
https://immersive-web.github.io/webxr-samples/
MIT License
995 stars 479 forks source link

Adding support for different left/right controller models #45

Closed Artyom17 closed 4 years ago

Artyom17 commented 4 years ago

I found out that there is only one model for the controller and that neither of the examples or tests actually uses input source's handedness. This PR adds a model for the left controller (which is mirrored right one; I also had to make materials double sided since normals got inverted and this was the easiest way to fix it).

Artyom17 commented 4 years ago

image

toji commented 4 years ago

LGTM! Thanks.