Search Issue Tracker

Fixed

Won't Fix in 1.0.X

Fixed in 2.1.0-pre.1

Votes

0

Found in [Package]

1.0.0-pre.6

Issue ID

XRIT-6

Regression

No

[XRI] XRGrabInteractable moves to controller when Collider size or position differs from the Transform and Force Grab is off

Package: XR - Interaction Toolkit

-

Reproduction steps:
1. Open the attached project ("bug_xrit.xrgrabinteractable.positioning.zip")
2. Open the SampleScene scene
3. Enter the Play mode
4. Using the controller grab and release the left cube

Expected result: Left cube does not move towards the hand
Actual result: Left cube moves towards the hand

Reproducible with: XR Interaction 1.0.0-pre.6 (2019.4.31f1, 2020.3.21f1, 2021.1.26f1, 2021.2.0b16, 2022.1.0a12)

  1. Resolution Note:

    With version 2.1.0-pre.1, there is a new Use Dynamic Attach property on XR Grab Interactable that can be enabled to get the desired behavior. In the attached project, select the "Cube Force grabs to collider edge" GameObject and then enable Use Dynamic Attach.

    This new property will make the effective attach transform of the grabbed object based on where the ray of the XR Ray Interactor hit the object so there is no initial movement due to the offset between that hit point and the object's Transform position.

  2. Resolution Note (fix version 2.1.0-pre.1):

    With version 2.1.0-pre.1, there is a new Use Dynamic Attach property on XR Grab Interactable that can be enabled to get the desired behavior. In the attached project, select the "Cube Force grabs to collider edge" GameObject and then enable Use Dynamic Attach.

    This new property will make the effective attach transform of the grabbed object based on where the ray of the XR Ray Interactor hit the object so there is no initial movement due to the offset between that hit point and the object's Transform position.

  3. Resolution Note (1.0.X):

    This fix will not be backported to 1.0.X of the XR Interaction Toolkit package.

Add comment

Log in to post comment