(2 intermediate revisions by one other user not shown)
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=TeleportPassthroughComponent.png
|Image=TeleportPassthroughComponent.png
|Name=Teleport Passthrough
|Name=Teleport Passthrough
}}
}}
The '''Teleport Passthrough''' component makes a collider on the same [[Slot|slot]] [[Tag|tagged]] with this component act as if the collider doesn't exist to the teleport selector when teleporting via the [[Component:TeleportLocomotion|Teleport Locomotion Mode]].
<!--T:2-->
<!--T:2-->
Line 15:
Line 15:
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Attach to a slot with a collider, to enable teleporting through a wall via the [[Component:TeleportLocomotion|Teleport Locomotion Mode]].
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
This can be used in puzzle rooms where the way out or forward in a puzzle is by teleporting.
Teleport Passthrough component as seen in the Scene Inspector
The Teleport Passthrough component makes a collider on the same slottagged with this component act as if the collider doesn't exist to the teleport selector when teleporting via the Teleport Locomotion Mode.