- This topic has 2 replies, 2 voices, and was last updated 4 years, 4 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Hello! I am trying to do an simple function that deletes one sphere that I have added to my scene if the sphere has the focus of the user, using the HasGazeFocus property, but I can’t make it work.
if (_gazeAware.HasGazeFocus)
{
this.gameObject.SetActive(false);
Debug.Log(“=)”);
}
else
{
Debug.Log(“=/”);
}
There is something else that I have to do to make it work?
Hi @nildes !
Do the sdk samples work well?
Please double check collision layers and max distance in the eye tracking settings.
Yes, the sample of the sdk work good. Which value should I put on maximum distance? And about collision layers, it’s the gaze focus layers? If so, which options should be marked? I just wanna track one object on the scene.