Tagged: eye-tracking, Unity
- This topic has 5 replies, 2 voices, and was last updated 3 years, 4 months ago by Grant [Tobii].
- AuthorPosts
- 28/04/2021 at 12:42 #20236JesúsParticipant
Hello, I have made this scene in order to test which cube recieve the focus. If I look at the back cube, the raycast hits the front cube collider and the front cube receives focus, but the back cube no. Is there any way to get all the items the raycast collide with so I cant filter which one I am looking at?
Thanks.
28/04/2021 at 12:47 #20238Grant [Tobii]KeymasterHi @moreno, thanks for getting in touch. Please specify exactly what Tobii Tracker and SDK Version and Bindings you are working with please. Thereafter, we will be best placed to help you out. Best Wishes.
28/04/2021 at 13:09 #20241JesúsParticipantOh yes, sorry. I am using the HTC VIVE PRO EYE hardware, SRanipal SDK 1.3.2.0 and TObiiXRSDK 2.1.1.177
03/05/2021 at 11:23 #20281Grant [Tobii]KeymasterHi @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).10/05/2021 at 09:52 #20322JesúsParticipantPerfect, thanks!
11/05/2021 at 12:20 #20338Grant [Tobii]KeymasterThanks for your understanding, do try it out and let us know how you get on. Best Wishes.
- AuthorPosts
- You must be logged in to reply to this topic.