Home › Forums › Software Development › Track Objects with multiple Colliders
Tagged: colliders, object mapping, Unity
- This topic has 1 reply, 2 voices, and was last updated 2 years, 3 months ago by Grant [Tobii].
- 15/02/2021 at 11:31 #19848Daniel SousParticipant
I want to use Tobii XR SDK to track some objects in my scene using the
IGazeFocusableinterface in Unity. I am currently facing a problem that my objects have multiple colliders attached. One of these colliders is a big sphere to detect whether the player is near to the object or not. Unfortunately, the eyetracking gets pretty inaccurate with these huge colliders. Is there a way to only select a specific collider for eyetracking?
If not I have to implement all the object mapping myself and I think that wouldn’t be a good solution… (Right now removing the huge collider isn’t an option.)
Thank you in advance!
Daniel16/02/2021 at 12:17 #19880Grant [Tobii]Keymaster
Hi @daniel-sous, thanks for getting in touch. Indeed, you can specify in the “G2OM Layer Mask” setting what layers should be searched for focusable candidates in the TobiiXR Initializer. We cover this in more detail @ https://vr.tobii.com/sdk/develop/unity/documentation/tobii-settings
Please check this out and let us know if you require any further assistance. Best Wishes.
- You must be logged in to reply to this topic.