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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Phantom capsule collider in OVR

Discussion in 'Editor & General Support' started by ClosingTime, Nov 14, 2019.

  1. ClosingTime

    ClosingTime

    Joined:
    Nov 23, 2016
    Posts:
    210
    I am using the sample of Oculus to create a player character.
    It has the VR camera, the touch controllers objects, and also character controller and a capsule collider of some sort.
    However, I am unable to find where the capsule collider exists.
    Even if I disable all the scripts and children, the capsule collider persists, but it's not visible anywhere in code or in the game object hierarchy.
    How is it possible that I have a sort of capsule collider in this OVR object but there is no reference to it anywhere? Or no way to control or change it?
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,799
    Lord_Slimeball likes this.
  3. jackpr

    jackpr

    Unity Technologies

    Joined:
    Jan 18, 2018
    Posts:
    50
    +1 for @TreyK-47 's post. If you collapse the CharacterController script in the inspector the capsule disappears. On the CharacterController script you can see radius and height properties. Changing those properties changes the capsule in Scene View.
     
  4. ClosingTime

    ClosingTime

    Joined:
    Nov 23, 2016
    Posts:
    210
    Yea, you are both correct.
    The CharacterCollider will keep it's capsule even if it's not active. But if you remove it completely the capsule will be removed.