Hi, i am a beginer programer.
i am planning to design a game in unity with eyetribe device.
Thus, i studied for some exmaples, such as anglebots, gazecam, and unofficial-eyetribe-unity3d that created by richstoner.
But for me, its is hard to understand at this stage.
So may i ask a question?
I believe that the device will detect our eye location.
So, there may include device.lefteye.position & device.righteye.position.
I want to make the same effect like gazecam. The lefteye texture will move accrording to my left eye move.
Thus, in unity, i planning to wrtie such as...
public GameObject lefteye;
void Update () {
lefteye.transform.position = device.lefteye.position
}
But i do not know and i cannot find the relative coding from http://eyetribe.github.io/tet-csharp-client/#
So may i ask how to write this code or any easier way to write.
I just wanna have the same eff name as gazecam, once my eye move, the texture will move accoring to my eye.
thankyou very much