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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Fatal signal 6 (SIGABRT)" is shown in the Console instead of crash details when "androidChainedSignalHandlerBehavior" is set to "legacy"
- BakeTrailsMesh Errors in the console when the Trails module of the particle system is enabled, the Mode is set to Ribbon and it's count is more than 1
- Global shortcut bind is set to default instead of previous value when setting it to a disallowed key
- Shortcut bind is removed when editing shortcut and clicking outside the Shortcut Manager window
- MeshColliders ignore contactOffset when Rest Offset > 0 on TerrainCollider causing jitter
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.
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.
Resolution Note (1.0.X):
This fix will not be backported to 1.0.X of the XR Interaction Toolkit package.