- Home /
Not able to 'Teleport' player - Unity3D Portal,Movement out of a portal in Unity3D
Hey, I'm relatively new to Unity, and I've been trying to create a portal for a project that I'm working on. I followed a Brackeys Tutorial, and I'm pretty sure I've done everything right, except when I move through, the portal, the player just does a 180 spin and doesn't get "teleported". This problem has been annoying me for days, some help would be really appreciated. Here's the code:
Thanks in advance :)
[1]: /storage/temp/178251-code2.png
Answer by $$anonymous$$ · Mar 28, 2021 at 09:37 PM
For some reason Brackeys's portals don't work so look at sebastien Lague video on portals URL :https://youtu.be/cWpFZbjtSQg
Answer by Sreshth · Mar 29, 2021 at 07:54 AM
Thanks @Hidden_walker23 :). The video seems to have worked :) I'm still not going to mark the question as solved though, because i want to know why it isn't working. If anyone has an answer, I'd appreciate it if you could answer
You're welcome and even I don't understand it completely but it might be that the variable are messed up or the script is not computeing the maths properly. That's my best guess.
Your answer
![](https://koobas.hobune.stream/wayback/20220613031425im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Why isn't AddTorque working on this character? 0 Answers
Distribute terrain in zones 3 Answers
[C#] How can I give my players, player models in a FPS? 1 Answer