Attaching an object to the OVR Camera?
Hi!
First, let me say I'm new to the Unity's world, so I'm a bit lost.
I'm working on a project with the oculus rift. So the player/user is free to look around just turning his head, but he will be all the time in the same position, without moving. I'm trying to attach an object (a cylinder) to the OVR Camera, in order to make the illusion of a small dot in the middle of the screen, just as in a FPS. This cylinder will help me too to know where the player is looking at. And, if I place a trigger somewhere, the user/player will be able to activate it just looking at it (the cylinder will collision with the trigger).
I found something very similar of what I was looking for, but it is a bit outdated. It is for the oculus SDK 0.2.4. It says to change some lines in the OVRCamera.cs, but I don't find any script called like that, neither the method SetCameraOrientation.
Here's the link to that old tutorial: http://pocketcyclone.com/2013/09/10/dont-stare-at-me/
I'm working on a Macbook Pro, with Unity 5.2.3, and the Oculus Utilities for Unity 5.
Does anyone how to solve this? Or if is there another easiest way to do what I want?
Thank you!
Answer by up160224 · Mar 03, 2018 at 11:14 PM
Yo también intento hacer eso, y aun no encuentro respuesta. Suerte.
Your answer
Follow this Question
Related Questions
"Clipping", "Jumping" UI slider, attached to the 2d game object ( health bar) 0 Answers
Load next scene during current scene to provide quicker / instant transtions 1 Answer
OVRInput.SetControllerVibration does not work 0 Answers
The microphone.start() function doesn't work in Android platform 0 Answers
Make GameObject “attach” properly? 0 Answers