Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question XR Ray Interactor "flickers" between Valid and Invalid colors -

Discussion in 'XR Interaction Toolkit and Input' started by davef_dci, Feb 3, 2023.

  1. davef_dci

    davef_dci

    Joined:
    May 27, 2017
    Posts:
    16
    Hey folks,

    I'm trying to use an XR Ray Interactor set as a curve for Teleportation. It's flickering annoyingly between the Valid and Invalid colors whenever I'm pointed at a valid Teleportation area. My Teleportation areas are on imported geometry that set up as a mesh collider if that matters.

    One interesting thing - If i'm doing a continuous move, the curve stops flikering and the begins to flicker again when I stop.

    Any ideas what's going on and how to fix it?
     
  2. FunSTW

    FunSTW

    Joined:
    Jun 3, 2018
    Posts:
    7
    Did you apply the reticle, and did it cause the reticle to repeatedly obscure the ray interactor due to its collider?
     
    VRDave_Unity likes this.
  3. Phenotype

    Phenotype

    Joined:
    Oct 26, 2010
    Posts:
    53
    In my case there is no collider on the reticle but it doesn't seem to like the surface to be at Y=0. Lifting it a little to Y=0.01 was enough to stop the jitter.