Search Unity

SteamVR vive controller motion limited by collider

Discussion in 'VR' started by bdeschryver, Jan 16, 2020.

  1. bdeschryver

    bdeschryver

    Joined:
    Jun 13, 2013
    Posts:
    93
    Hey guys,


    I have noticed in a last project for VR (HTC Vive) I am working on that controller are blocked by colliders.
    I mean if I have a wall in front of me and I am close from it, if I move my arm through the wall, the controller will no go through by stay "blocked" on the wall surface.
    Is this something you know of ? How can I turn that off ?

    In the past it did not used to be like that, controller models/instances would never stop on obstacles (colliders).

    Thanks !
     
  2. FelixLightshape

    FelixLightshape

    Joined:
    Nov 25, 2019
    Posts:
    9
    It's part of the new "Player" prefab. If you use the CameraRig it doesn't happen. You can also deactivate it by unchecking/removing the HandPhysics script from the hands.
     
  3. bdeschryver

    bdeschryver

    Joined:
    Jun 13, 2013
    Posts:
    93
    thank you @FelixLightshape ! This is good help !

    (I do prefer the controller going through the objects and not respecting the colliders as then their motion in real space is the same in virtual reality. It is kind of strange to block them in VR although in real space they move... Breaks immersion to my opinion...