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.

Question XR Socket Hover Mesh messed up in its transforms, snapping is correct

Discussion in 'VR' started by Bahmann, Sep 8, 2020.

  1. Bahmann


    Mar 5, 2019

    I set up a little scene for the Quest where the player is able to grab objects and put them back to thier origin using the XR Grab Interactible on the objects as well as XR Socket Interactible for the origins. I created the sockets by copiing the object and removing its mesh filters etc., meaning object and socket transforms as well as thier attach transforms are exactly the same.
    The snapping to the object origin works perfectly, but unfortunately the socket hover mesh does appear somewhere else.
    Any hints how to align the hover mesh with the origin of the objects, as it is supposed to be?

    Below some pictures of the issue and how the socket is set up.

    I'm using Unity 2019.4 and XR Interaction Toolkit 0.9.4


    Attached Files: