Component:TeleportPassthrough: Difference between revisions

From Resonite Wiki
add info
Updated description, added links.
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
|Name=Teleport Passthrough
|Name=Teleport Passthrough
}}
}}
Teleport Passthrough makes a collider on the same slot act as if the collider doesn't exist to the teleport selector when teleporting via the [[Component:TeleportLocomotion|Teleport Locomotion Mode]].
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 23: Line 23:
<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
* [[Component:TeleportSurface|Teleport Surface]]
* [[Component:TeleportBlock|Teleport Block]]
</translate>
</translate>
[[Category:Components{{#translation:}}|Teleport Passthrough]]
[[Category:Components{{#translation:}}|Teleport Passthrough]]
[[Category:Components:Transform:Tagging{{#translation:}}|Teleport Passthrough]]
[[Category:Components:Transform:Tagging{{#translation:}}|Teleport Passthrough]]

Latest revision as of 22:46, 20 March 2025

Component image 
Teleport Passthrough component as seen in the Scene Inspector

The Teleport Passthrough component makes a collider on the same slot tagged with this component act as if the collider doesn't exist to the teleport selector when teleporting via the Teleport Locomotion Mode.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.

Usage

Attach to a slot with a collider, to enable teleporting through a wall via the Teleport Locomotion Mode.

Examples

This can be used in puzzle rooms where the way out or forward in a puzzle is by teleporting.

Related Components