So OpenNI doesn’t offer head tracking at the moment, does anybody know of any ways that head tracking is being done for macs? I’m looking to move a camera with the head movement of the player.
I found a way of improvising this…
-
I used EyeTwig for tracking the face and map the cursor according to the move of the face: http://www.eyetwig.com ,this giving you the right movement of the camera if you use a FPV or so… while is like moving the mouse on the screen.
-
Using the simple Javascript bellow on any GameObject to hide the cursor.
#pragma strict
function Update () {
Screen.showCursor = false;
}
I find it “cleaner” and cheaper than using the Kinect…