Customizable Teleporter Script (Free)

Hi guys! I just released my first asset! I thought, for a first, I’d make something simple and free, so here it is. :slight_smile:
Its a simple custom teleporter script you can customize to work the way you want it to work in the inspector.

Here it is.

It has the following options:

  • instant teleport
  • random teleport
  • button teleport
  • delayed teleport
  • object with tag or not

And you can create a combination of those. :slight_smile:

Here’s a couple screenshots:

And a quick demonstration video:

And another if you just wanna look at the pretty models that aren’t the main asset at all:

If you use it anywere link me if you have a vid, I’d love to see it in action. :slight_smile:

Thanks!

1 Like

I have an issue. Im trying to download your script from the asset store, but it won’t let me? The usual icon to download is missing? Is the asset still there?

Hi! That’s really weird. Now that you mention it I don’t see the download button either. The asset had over 10 downloads since two days ago. An update is pending so maybe that’s why?

EDIT: I have the button now. Try refreshing now.

how do i add a teleport target? i drag 2 teleport to my scene, then i drag the teleport “a” to “destination pad” to the teleport “b”, am i doing something wrong?

That’s one part yes. Did you follow the instructions included in the Readme? Can you give me more details, and snapshot the script inspector?

Here’s a basic example. You need a trigger collider to act as the teleport area/sensor, and if you want any tag to work just leave the tag area blank. Trigger is important it can’t work without it.

1825038--116919--Setup.PNG

of course i read the “Readme” file, well, the problem is that i don’t know hot to add the the trigger.
i guess making a script that send a message to “teleport pad A” will work, but i can’t write c# code…
thanks for your time

EDIT:
i just have to delete “empty = any object” at Object Tag, now its working fine, sorry for my stupid question, i really appreciated your attention.

Ah I think I see the problem. No you don’t have to write any new scripts for it to work. If you’re using my prefabs then it should all be setup already. You did everything right except you need to delete “empty = any object” from the Object Tag, in the inspector. So its actually empty. Let me know if that did the trick!

As for adding a trigger to an object, for future reference, here’s a few screenshots.

1825184--116930--add trigger.png 1825184--116931--add trigger 2.png 1825184--116932--add trigger 3.png

1 Like

Just saw your edit. No problem, glad you got it working! :smile:

Hi guys! Its time for some updates. As thousands have already downloaded this script, and some expressed they’d even pay for it, I decided to expand on it and make a Pro version. The one currently up will remain free, there will just be a Pro version with more functionality.

First up, cloning. There will be (hopefully) 6 other new features in the Pro version.

And ofc, things always go wrong first. :slight_smile:

Hi, This is a great asset, but I’m trying to get it to work with Google cardboard, it does work but if I try and teleport back, it freaks out and I get stuck in some kind of mad glitch and cant move out of it. Also if I look down while in the teleporter it does the same.

Any ideas anyone

Hi! I’m sorry I don’t have a google cardboard to test it, so I don’t know how it works. Maybe it has nothing to do with cardboard, but with the teleport setups. Did you check if it works in editor? Is the second teleporter setup properly to send back to the first one, and not to itself or something?

I already had my teleport script but the model is great! thanks!

You’re welcome. xD

Hi
I’ve attached your script to a gameobject with collider and trigger but am getting this error:
NullReferenceException: Object reference not set to an instance of an object
CustomTeleporter.Teleport () (at Assets/Teleportation Pad/CustomTeleporter.cs:72)
CustomTeleporter.Update () (at Assets/Teleportation Pad/CustomTeleporter.cs:57)

Any ideas? Thanks.

Hi Jrobson. Seems to happen when its suppose to teleport to a pad, but doesn’t know where to teleport. Did you assign pads to “Destination Pad”? Also remember to clear the “Object Tag” area if you want it to accept any object.

Aha! I’m using my own empty gameobjects as pads and hadn’t realised they needed the scrip attached as well. All working now. Thanks!

1 Like

Glad you got it sorted out. :slight_smile:

Is there to make a player teleport w/o triggering a volume?

I need my player, where ever they are, to teleport on button press to a different pad. Like if I attach the pad to my player, the collider never registers the player is triggering it

wondering, will this teleport from one scene to a different scene

Hi, sorry for the late replies, I had both internet and power issues, and been busy from a temp job, so barely got anything done.

Try removing the “if(inside)” check in update.

No its only within the scene. Its a really really simple script. :slight_smile: