Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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

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

  1. Bahmann

    Bahmann

    Joined:
    Mar 5, 2019
    Posts:
    15
    Hello,

    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

    com.MAN.PC2_6BN-20200908-093519.jpg
    com.MAN.PC2_6BN-20200908-093505.jpg
    upload_2020-9-8_9-49-1.png
     

    Attached Files: