ray-input icon indicating copy to clipboard operation
ray-input copied to clipboard

Not working correctly on Vive?

Open customlogic opened this issue 9 years ago • 3 comments

I just tested the example (https://borismus.github.io/ray-input/), on Vive and it doesn't seem to be working correctly. The ray rotates as I rotate the controller, but it's not positioned in space correctly (it doesn't originate from my hand)

customlogic avatar Dec 12 '16 23:12 customlogic

Hm, haven't tested on Vive in a while. Thanks for the feedback. Is this using the latest (Oct) Chrome builds?

borismus avatar Dec 21 '16 01:12 borismus

Same issue here, though fwiw it seems broken in slightly different ways on latest Chromium vs Firefox nightly. I note that in Brandon's controller example, he transforms based on the vrDisplay.stageParameters.sittingToStandingTransform. I think I'll try this, and submit a PR if I can get it working.

(Hey @customlogic - small world, I think I know your wife and son from the park!)

[Edit: Yeah, that worked - PR incoming once I've had a chance to clean up.]

beaucronin avatar Dec 30 '16 21:12 beaucronin

Hey Beau, small world indeed! Thanks for the fix, it sounds like it does the trick. I'm back in the office later this week, and I'll give it a whirl.

customlogic avatar Jan 02 '17 20:01 customlogic