Forum Discussion
Futuristichub
12 years agoHonored Guest
Move Camera with Head Movement
Hey everyone. I am in first person mode and I'd like to be able to turn my head and the camera turn with it in first person. Basically as if you were in a Helmet and the helmet can move with the camera but slower so it gives you the feel of being inside a helmet. . Do you have any idea how I can do this, what code is needed and where to put it?
I am look for the EXACT same effect like this demo here below
viewtopic.php?f=29&t=13512
struggling with this... Thanks guys!
I am look for the EXACT same effect like this demo here below
viewtopic.php?f=29&t=13512
struggling with this... Thanks guys!
2 Replies
Replies have been turned off for this discussion
- moltonExplorerlook up Oculus Rift sensorfusion, that will allow you to do that. Specifically a function called GetDeviceOrientationPosition or something just like that.
- ZhamulExplorerJust make the helmet and use Vector3.MoveTowards and Quaternion.Slerp to move and rotate it towards the position and rotation of the median point between Oculus cameras. You may use Oculus functions to get position and rotation if you wish, but they aren't really needed.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 10 months ago
- 7 months ago
- 5 years ago