-
Notifications
You must be signed in to change notification settings - Fork 94
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
Feature request: ability to turn around #43
Comments
This looks like the point where the teleport happens:
|
I implemented #2 and it was pretty confusing. On further thought, I think a variation on #1 might be best. However, instead of swiping or moving the joystick while clicking it, I think it makes more sense to hold the trigger while clicking the joystick/touchpad and rotate the controller to change the teleport rotation direction. |
This works if you face in the direction of the arrow, initially, but it stops making sense if you turn around so you're facing in the opposite direction of the arrow. I clearly need to take the rotation of the HMD into account, not just the camerarig. I'll spend some more time on it tomorrow. |
@Flafla2 I updated the PR to take the head transform into account. Also, cancel the custom rotation after the first teleport. This feels pretty good. Let me know what you think. |
The Oculus Touch has been out for a while and SteamVR supports it just fine. I have a Vive and a Touch rig and I've noticed that teleporting with the Touch requires the ability to turn around somehow. With the Vive you can just physically turn around, but with the Touch you can't turn your back to the camera or you lose tracking.
Through experience and experimentation, I've come up with two possible solutions for this problem:
We could swipe the touchpad (joystick on the Touch) to rotate the teleport facing direction. This is how The Gallery handles it. This solution would require a heading indicator on the teleport circle at the end of the arc.
We could possibly handle heading changes by looking in a different direction, teleporting, and using the rotational delta between forward and the direction the user is looking to rotate the camera after teleporting.
I'm not sure how to implement either of these in the code base. Pointers and ideas welcome.
The text was updated successfully, but these errors were encountered: