Forum Discussion
jurip
7 years agoHonored Guest
Make camera stick to one position
I'm making a game where the player is stationary. I want the player to be able to look around, but not move their head in the game. So if they're sitting down looking at the center of a dart board, and then stand up, they should still be looking at the center of the dart board. And even if they moved around outside the game, their head would still be at the same location in the game. How can I accomplish this? Which Ovr* scripts should I study closer?
Maybe relevant: I have a LocalAvatarWithGrab as a child of a GameObject with a Rigidbody. I move the Rigidbody by using my own script.
Maybe relevant: I have a LocalAvatarWithGrab as a child of a GameObject with a Rigidbody. I move the Rigidbody by using my own script.
1 Reply
Replies have been turned off for this discussion
- juripHonored GuestDisabling "Use position tracking" on OVRManager sort of works. However, now I get another problem: If I start seated and then stand up, the hands are raised to eye level. If I recenter the hands are positioned correctly again. And if I sit down then, the hands end up by my feet. Any suggestions?
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
- 8 months ago