Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

Hide controller ray when in orbit controls mode #19

Merged
merged 4 commits into from
Jun 9, 2019

Conversation

chrislatorres
Copy link
Contributor

per #5 this PR hides the controller ray when in orbit controls mode.

This PR is may not be complete yet though because the rays appear when the mouse cursor leaves the viewport and orbit controls is not present.

hidecontrollerray

@chrislatorres
Copy link
Contributor Author

This PR is may not be complete yet though because the rays appear when the mouse cursor leaves the viewport and orbit controls is not present.

After testing again, this definitely needs to be covered, because having the ray appear when mouse moves outside of viewport is very annoying.

@chrislatorres
Copy link
Contributor Author

chrislatorres commented Jun 9, 2019

In 3f5c5e0 added a global variable currentSession that will be updated at every point we enter/exit XR, currently it covers entering and exiting fakeXr and will be need to be updated with #20 to track with entering/exiting desktop VR.

Tested and working with the fakeXr case now.

index.html Outdated Show resolved Hide resolved
@chrislatorres chrislatorres merged commit 32ae7ad into master Jun 9, 2019
@chrislatorres chrislatorres deleted the controller-hide-ray branch June 9, 2019 22:02
avaer pushed a commit that referenced this pull request Aug 5, 2019
Hide controller ray when in orbit controls mode
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants