Home Forums Game Integration Unity SDK with tobii Eye X Reply To: Unity SDK with tobii Eye X

#8617
Rasa Bhattarai
Participant

Sorry,
I forgot to attach code in my above question

private void MoveBall()
    {
        x = Mathf.Cos(timeCounter * Mathf.PI/180) * radius;
        y = 0.5f;
        z = Mathf.Sin(timeCounter * Mathf.PI / 180) * radius;

}`

This is the code for circle equation and are the 3 data points.