Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Cardboard vr stop colision

Discussion in 'AR/VR (XR) Discussion' started by oxhey, Feb 28, 2015.

  1. oxhey

    oxhey

    Joined:
    Jun 16, 2013
    Posts:
    5
    Im using the cardboard sdk and iv modified it so that when the magnet is pulled , the player moves forward in the direction of the camera . The problem i have is that the player (camera) goes through the models in the scene . The models have mesh colliders on them .The camera (cardboardMain) has a box collider on it , but still goes through the models.
     
  2. JDMulti

    JDMulti

    Joined:
    Jan 4, 2012
    Posts:
    384
    You need a Character Controller on the main gameobject you're moving around.
     
  3. oxhey

    oxhey

    Joined:
    Jun 16, 2013
    Posts:
    5
    Iv put a character controller on it and it still doesn't collide
     
  4. kahjav

    kahjav

    Joined:
    Apr 21, 2015
    Posts:
    1
    I have the same issue! Any solution?
     
  5. Devraj

    Devraj

    Joined:
    May 4, 2015
    Posts:
    2
    Use raycasting to character controller and move the controller in that direction.