Created
January 6, 2017 14:05
-
-
Save krijnrijshouwer/5d9eb6c0eada8480700594abcf15c02e to your computer and use it in GitHub Desktop.
How to - Line of sight
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# direct access through property | |
heading = vr.heading | |
# continues updates | |
vr.on Events.OrientationDidChange, (data) -> | |
heading = data.heading | |
elevation = data.elevation | |
tilt = data.tilt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment