Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
mattyeatsmatts's avatar
mattyeatsmatts
Honored Guest
13 years ago

Using the tracker for controlling the character. need help

Hi everyone.
Well I started on a game yesterday and am a complete n00b to this so i've got no idea when it comes to scripting. So I need help.
Ok well basically I would like to use the tracker to control the characters movements, Here is a diagram representing what I want to achieve. Note: I'll probably change the values during development of the game.
Image - http://img849.imageshack.us/img849/246/7oov.jpg
If any unity guru out there has a little spare time to help me I would greatly appreciate it.
thanks.

If you want to take a look at my progress so far here is the dropbox link:
https://www.dropbox.com/s/h7odkiz3fcoeysf/Free%20Your%20Mind.zip
this is what i have after about 2.5hrs so don't expect much.

2 Replies

Replies have been turned off for this discussion
  • You can use OVRCameraController::GetCameraOrientation() or GetCameraOrientationEulerAngles() and do what you want with the values.