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.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Question Grabbed interactable is being dropped

Discussion in 'Getting Started' started by tleylan, Dec 28, 2022.

  1. tleylan

    tleylan

    Joined:
    Jun 17, 2020
    Posts:
    343
    I just noticed this. On the Quest 2 (a VR app) I obviously have a left and right controller. There are two "controllers" on each controller. One switches between normal and UI and the other between normal and teleport.

    I can grab an interactable object with either hand but I just noticed that when holding that object if I push my teleport button the interactable falls out of my hand. The ability to be grabbed is in the object (e.g. a cup) but I'm not sure if there is a controller associated with that action such that swapping the controller makes the object think it is no longer being held. Does that make sense?

    Is there a controller object that gets "possession" of the grabbed object? Do you think I can easily swap that when I change controller "modes"?