Search Unity

Why am I being pushed backwards by teleport?

Discussion in 'VR' started by KenniKure, Oct 23, 2019.

  1. KenniKure

    KenniKure

    Joined:
    Aug 7, 2019
    Posts:
    39
    Hi forum

    I made a teleport by following this tutorial: (And I have used it on a project before, and it worked without any problems?)


    I should be going where the teleport is when I click and release the trigger, but for some reason I just go backwards? Does anybody know why?

    I have a terrain in two stories, and I want to use the teleport to move around on each level. When I try to get to ground level I hover over the ground. Why am I not standing on the ground when I use the teleporter to get down there? (and also I am pushed backwards as formerly mentioned)
     
  2. samra2494

    samra2494

    Joined:
    Nov 23, 2015
    Posts:
    21
    replace your teleport script with this script
     

    Attached Files:

    NDSno1 likes this.
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,448
    i think it works also, if you disable character controller in the player. (but of course you might need that if want to check collisions)
     
  4. RamonKing

    RamonKing

    Joined:
    Dec 13, 2019
    Posts:
    10
    How do you do that?
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,448
    in playercontroller, disabled that component
    upload_2019-12-16_9-27-55.png