Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
9 years ago
Solved

Camera Rotation

So I've rendered but a simple textured square in the rift, however when I rotated my head it horizontally the square remains centered in my view. I am guessing I have to apply an opposite rotation to the camera. My question is this the correct way to do it or did I somehow mess up with my camera rotations. Thing is if I move my head vertically it does not stay centered but acts how I would expect.
  • Anonymous's avatar
    Anonymous
    9 years ago
    I goofed I meant to call ovr_recentertrackingorigin() outside of the loop I think I put it in there for troubleshooting issues then forgot to remove it.

2 Replies

  • Anonymous's avatar
    Anonymous
    I goofed I meant to call ovr_recentertrackingorigin() outside of the loop I think I put it in there for troubleshooting issues then forgot to remove it.