Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Laser "wobbles around" while dragging #45

Open
customlogic opened this issue Sep 28, 2016 · 4 comments
Open

Laser "wobbles around" while dragging #45

customlogic opened this issue Sep 28, 2016 · 4 comments
Labels

Comments

@customlogic
Copy link
Contributor

I'm not sure what's happening here, but you can see it most clearly when you drag a panel. The spot where the laser is hitting moves with a bit of lag.

In this video, the controller has a permanent blue line extending from the controller. You can see how our laser gets out of sync with it. (To check it out yourself, see http://localhost:8000/tests/three_examples/webvr_vive_dragging.html )

ezgif-2319444100

@mflux
Copy link
Contributor

mflux commented Sep 28, 2016

It's probably because the update of DATGUIVR is happening on its own requestAnimationFrame.

This saves the user from having to add another line in their render step (and sometimes may not be possible if they are using a locked in boilerplate).

@mflux
Copy link
Contributor

mflux commented Sep 28, 2016

Or maybe something else dunno! Seems like the gui itself is fine, but the laser is lagging? That's kind of weird.

@customlogic
Copy link
Contributor Author

Yeah, GUI itself is totally fine, it's just the laser/cursor

@mflux
Copy link
Contributor

mflux commented Oct 3, 2016

We'll probably fix this post-release.

@mflux mflux added the bug label Oct 3, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants