Home Forums Unity SDK Get all items that could be on focus Reply To: Get all items that could be on focus

#20281
Grant [Tobii]
Keymaster

Hi @moreno, thanks for your patience whilst we investigated this matter. Unfortunately, there is not a straight forward way to look “through” all objects in a gaze direction. With regard to the Tobii G20M, this is not a raycast, but rather returns a list of objects in order of likeliness that the user is looking at them.
Our current version does not support looking through transparent objects with the existing release, however we have logged your request for consideration in a future release. However, you can try to use Unity apis to get that raycast through (https://docs.unity3d.com/ScriptReference/Physics.RaycastAll.html).