When the "Interact With Objects" option is enabled on SimplePointer the events InteractableObjectTouched and InteractableObjectUntouched are often repeatedly called one after another when the pointer remains on the same object. If you add a highlighter to the object, you can see it flicker as a result of this.
What version of vrtk are you using? Also did you get it from git hub or unity asset store. Also what version of unity are you on?
Finally are you able to recreate the issue in a vrtk example scene and provide steps on how to recreate?
I'm using the released zip for 3.0.1, Unity version 5.5.0f3, and the latest version of SteamVR. Here are steps for reproducing this:
Edit: This occurs with both the "touch" and "using" functionality - I know I'm only demonstrating half of that here.
@aantn confirmed bug thanks for the steps to reproduce.
I'll look at fixing it tomorrow!
PR to fix https://github.com/thestonefox/VRTK/pull/837
Let me know if it's working for you and I'll merge it if it's all good
That was fast :)
I won't be able to check until Friday. I'll update you then.
On Jan 18, 2017 10:49 PM, "StoneFox" notifications@github.com wrote:
PR to fix #837 https://github.com/thestonefox/VRTK/pull/837
Let me know if it's working for you and I'll merge it if it's all good
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thestonefox/VRTK/issues/833#issuecomment-273597425,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeKB4zipWGzInzY9Z2EdzVtxpuB9llAks5rTnregaJpZM4Lm5cf
.
Thanks, that fixes the double calls to StartUsing.
Hey, I'm still experiencing a similar issue where objects are touched/untouched repeatedly. The best way I can reproduce this is by enabling the highlighter on relatively distant objects and pointing at them so that they are highlighted. The highlight (sometimes) flickers incessantly.
I can't reproduce this reliably in the sample scenes - I've seen it happen there once or twice, but I can't determine what triggers the bug. I'll keep trying.
Most helpful comment
I'm using the released zip for 3.0.1, Unity version 5.5.0f3, and the latest version of SteamVR. Here are steps for reproducing this:
Edit: This occurs with both the "touch" and "using" functionality - I know I'm only demonstrating half of that here.