Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for Daydream #15

Merged
merged 9 commits into from
Nov 21, 2017
Merged

Fixes for Daydream #15

merged 9 commits into from
Nov 21, 2017

Conversation

robertlong
Copy link
Contributor

  • Fixes a bug that @johnshaughnessy and I found with input mapping events and the virtual-gamepad-controls component.
  • Adds initializing the daydream-controls component to hand-controls2 component.
  • Uses a custom version of AFrame that sets the correct camera height when entering VR on mobile devices (See only set this.controls.userHeight if device has positional tracking aframevr/aframe#3111).
  • Adds an offline=true query string option so you can get past the loading screen when offline.
  • Fixes a typo with the avatar body mesh.

Copy link
Contributor

@brianpeiris brianpeiris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments. LGTM otherwise.

public/room.html Outdated
@@ -2,6 +2,7 @@

<head>
<title>Mozilla Mixed Reality Social Client</title>
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we really point to latest?

this.accelerationInput.setX(event.detail);
} else {
this.accelerationInput.setX(0);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a bug in input-mapping that we should submit a PR for? Maybe put a TODO in here.

@@ -106,6 +106,7 @@ AFRAME.registerComponent("hand-controls2", {
el.setAttribute("vive-controls", controlConfiguration);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(why is this component called hand-controls2? Surely it deserves a better name)

Copy link
Contributor

@netpro2k netpro2k Nov 22, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its a direct extension of the aframe built in component hand-controls . It's likely something we might want to land upstream but we don't know exactly what we want yet so its not worth maintaining a separate fork of aframe over. Thus hand-controls2 was born.

@robertlong robertlong merged commit b08841c into master Nov 21, 2017
@netpro2k netpro2k deleted the feature/daydream-support branch November 22, 2017 17:17
Frander added a commit to Frander/hubs that referenced this pull request May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants