Forum Discussion
DarkJames
13 years agoHonored Guest
[Solved] OVRCameraController follow target?
EDIT: The problem was solved with the code snippet (top answer) http://answers.unity3d.com/questions/13033/how-to-determine-if-enemy-is-on-my-left-or-right-h.html So I'm one of those people new to ...
saarwii
13 years agoHonored Guest
"cybereality" wrote:
Can you explain exactly what it is you are trying to accomplish?
i always thought that using the mouse and keyboard or a gamepad a bit cluncky when controlling a first person character in the oculus. And a hydra is something that mayby isnt that common among people so i've been exploring alternetivs.
What i'm experimenting with is using a touch device (in my case an HTC ONE android) to controll your character. Right now when im touching my phones screen an object appears in the 3d space. I can move that how ever i want in the X and Z axis and when i double tap the screen my character in game moves to that point. So it's basicly working like mouse marker. i've got this to work by having a android project loaded to my phone and a project with a server program running on the computer, then sending data about my fingers position on the screen via the Wi-fi.
To my camera problem. Say im playing and move my marker to the left and follow with my head to look where the marker is, mybody is facing straight forward but my head is looking left. If i now decide to move my character there i get this weird feeling when my that im walking diagonaly, and change my head position to look forward it feels even more wrong. When you decide to walk somewhere you want your whole body facing the way you are going. So i want to rotate the character to the left in this case so the use have to compensate with moving their head right and then get an aligned head and body.
i have some more diffrent smart phone/tablet related interactions with a VR world that i want to try out where i force the camera to move. So a nice way to move force move the camera would be nice.
(sorry about the bad english)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device