Question by
barmhartsam · Jan 31, 2017 at 08:22 PM ·
colliderontriggerenterteleportontriggerstaywarp
Teleport using keypress (C#)
Hi I want to teleport in the same scene (2D project) using Input.GetKeyDown. I have looked around and could find nothing that helped. The problem is the timing I am working on a 2 way door that teleports you inside the house (still in the same scene) using the same door. I set up 2 box colliders and set them to "Is trigger" and using OnTriggerStay and OnTriggerExit when the key is pressed none of what I tried worked so I though I might ask here to get a fresh perspective.
Thanks in advance.
Comment