Unity-Technologies / XR-Interaction-Toolkit-Examples

This repository contains various examples to use with the XR Interaction Toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use XR-Grab-Interactable along with Player Movement

Vinayak0706 opened this issue · comments

In our current project we have added Player Movement with Joystick for both Right Controller and Left Controller.
There are objects for which XRGrabIntractable Script attached so that they are Grabbable when Ray is Pointed and Triggered.

when we use Trigger button and Pick up one of the object it is Grabbed.
But when I use the Joystick to move the player Grabbed Object in Hand also moves and Rotates.

Is it possible to disable the movement of the Grabbed Object when we use Joystick?

Unity Version: 2021.3.1f
Device: Pico Nio 3
XR Interaction Toolkit Version: 2.2.0

If Any one looking for this, Uncheck Anchor Control in XR Ray Interactor Component
image