Component:TeleportPassthrough: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page TeleportPassthrough (Component) to Component:TeleportPassthrough: Creating component Namespace
Updated description, added links.
 
(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.


<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
* [[Component:TeleportSurface|Teleport Surface]]
* [[Component:TeleportBlock|Teleport Block]]
</translate>
</translate>
[[Category:ComponentStubs]]
[[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