Other
I need help to create a teleporter , but a teleporter when I get in there and leave this place , it reminds me to come to this place where I come
Hi. I need help to create a teleporter , but a teleporter when I get in there and leave this place , it reminds me to come to this place where I come. thanks for your help , i'm a beginner and I'm using "C#" script
Answer by Happy-Zomby · Apr 08, 2016 at 06:34 PM
Hi, do you just want to keep track of the place where you teleported from? if so, you just need to create a Vector3 variable and record your current position before you teleport and this will be the place you can teleport back to. Or if the teleporter is a gameobject you can save the gameobject in a variable as last used teleporter or something like that. Do you have some code for your teleportation? if so you may want to post it here
Follow this Question
Related Questions
Audio play when enter trigger 1 Answer
[Absolute beginner] Play animation on trigger (trigger = several fallen objects) script 1 Answer
Scripting Error 0 Answers
How can I make this clip play once 1 Answer
Dialogue Problem 0 Answers