[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 Unity and the Oculus.
I'm basically trying to recreate Valve's vr_moveaim_mod 3/4 right now in my game. http://media.steampowered.com/apps/valve/2013/Team_Fortress_in_VR_GDC.pdf (info on page 33)
I'm try to make it so when I move my cursor to the edge of the screen the OVRCameraController will make the cameras rotate to follow the target.
I have a cube that moves left/right/up/down across my screen and I want the cameras to follow that.
I am not using the OVRPlayerController, just the OVRCameraController and I tried setting the FollowOrientation to the target.
Any thoughts/advice on where to look? Thanks! :)
So I'm one of those people new to Unity and the Oculus.
I'm basically trying to recreate Valve's vr_moveaim_mod 3/4 right now in my game. http://media.steampowered.com/apps/valve/2013/Team_Fortress_in_VR_GDC.pdf (info on page 33)
I'm try to make it so when I move my cursor to the edge of the screen the OVRCameraController will make the cameras rotate to follow the target.
I have a cube that moves left/right/up/down across my screen and I want the cameras to follow that.
I am not using the OVRPlayerController, just the OVRCameraController and I tried setting the FollowOrientation to the target.
Any thoughts/advice on where to look? Thanks! :)
