|Name of gadget||Teleporter|
|Section||Movers & Outputs|
|Number of Tweak pages||1|
|Last updated||01 Mar 2019 [Beta]|
This gadget will cause an object to instantaneously move position to match that of a tag. It also provides an option for matching the orientation of the target, regardless of whether the affected object is actually moved.
Although the teleporter allows objects to move directly from one space to another, regardless of distance and whether there are any physical objects in between, be aware of potential collision issues at the target location, i.e. when attempting to place physical objects in the same space at the same time. Physical objects trying to occupy the same spot tend to fly apart unpredictably.
Example Tutorial (adapted from Media Molecule)
- Stamp a cube
- Stamp a tag away from the cube (this is where we will teleport to)
- Name the tag “Location1”
- Snap a teleporter to the cube
- Enter “Location1” in the tag name field
- Hit start time and the cube will instantaneously teleport to the tag.
- Delete the transporter gadget.
- Stamp 2 more tags to make a triangle of tags some distance apart.
- Name the tags Location2 and Location3
- Snap a microchip to the cube
- Add a selector and a controller sensor to the microchip
- Tweak the controller sensor to remote controllable
- Connect the X button to the next output on the selector
- Stamp 3 transporter gadgets into the microchip
- Enter Location1 for the first teleporter, Location2 for the second and so on
- Attach Output A of the selector to the first transporter gadget power port, B to the second and so on
- Hit start time
- Now when you press the x button your cube will move around each location in turn in a loop
- Tag name
Enter the name of tag whose position you want to teleport to. As with all tag name fields, this is case-sensitive and you can cycle through your scene’s existing tag names by hovering the imp tip over the field and pressing up or down on the d-pad.
- Match Target Position
The teleporter can change both the position and orientation of its affected object separately. This setting allows you to specify whether the target tag’s position is to be used. If it is not activated, the teleporter cannot move the affected object, only re-orient it.
- Match Target Orientation
Just as with the option to Match Target Position, you can optionally choose to match the orientation. If this is selected, the teleporter takes the tag’s orientation into account, otherwise the affected object will remain the same way up when teleported.
- Affected Object(s)
By default, the teleporter acts on the object that it is snapped to. However you can specify the affected object(s) by wiring this output directly to one or more elements in your scene.
This is where you turn the gadget on/off
The teleporter gadget is quite powerful but also limited in its requirement for a tag at the target location. It is often useful to place the tag on a (non-collidable) follower set to a very high speed, then the follower can track something else in space (such as the hit location from a laser scope) and the teleporter can move its affected object to that location (a light and a sound effect, for example).