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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    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.