Component:TeleportSurface: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page TeleportSurface (Component) to Component:TeleportSurface: 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=TeleportSurfaceComponent.png
|Image=TeleportSurfaceComponent.png
|Name=Teleport Surface
|Name=Teleport Surface
}}
}}
{{stub}}
The '''Teleport Surface''' component is a component that is used to mark surfaces on [[Slot|slots]] [[Tag|tagged]] with this component in a world as specific spots the user can teleport to via the [[Component:TeleportLocomotion|Teleport Locomotion Mode]] regardless of the CharacterCollider field on a slot's collider.


<!--T:2-->
<!--T:2-->
Line 15: Line 16:
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Attach this component to the same slot as a collider to mark that collider as a spot a user can specifically teleport to.


<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
This can be used along with [[Component:TeleportBlock|Teleport Block]] to make a maze that can only be navigated via teleporting.


<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
* [[Component:TeleportPassthrough|Teleport Passthrough]]
* [[Component:TeleportBlock|Teleport Block]]
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Teleport Surface]]
[[Category:Components{{#translation:}}|Teleport Surface]]
[[Category:Components:Transform:Tagging{{#translation:}}|Teleport Surface]]
[[Category:Components:Transform:Tagging{{#translation:}}|Teleport Surface]]

Latest revision as of 22:50, 20 March 2025

Component image 
Teleport Surface component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


The Teleport Surface component is a component that is used to mark surfaces on slots tagged with this component in a world as specific spots the user can teleport to via the Teleport Locomotion Mode regardless of the CharacterCollider field on a slot's collider.

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 this component to the same slot as a collider to mark that collider as a spot a user can specifically teleport to.

Examples

This can be used along with Teleport Block to make a maze that can only be navigated via teleporting.

Related Components