Component:TeleportBlock: Difference between revisions

From Resonite Wiki
Add info
Style, added link.
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
|Name=Teleport Block
|Name=Teleport Block
}}
}}
Teleport Block is a component that is used to tag colliders like platforms and walls as a place where a user cannot teleport to via the [[Component:TeleportLocomotion|Teleport Locomotion Mode]].
The '''Teleport Block''' component is a component that is used to [[Tag]] colliders like platforms and walls as a place where a user cannot teleport to via the [[Component:TeleportLocomotion|Teleport Locomotion Mode]].


== Usage ==
== Usage ==
Line 17: Line 17:


== See Also ==
== See Also ==
* [[Component:TeleportSurface|Teleport Surface]]
* [[Component:TeleportPassthrough|Teleport Passthrough]]


[[Category:Components:Transform:Tagging{{#translation:}}|Teleport Block]]
[[Category:Components:Transform:Tagging{{#translation:}}|Teleport Block]]
[[Category:Components{{#translation:}}|Teleport Block]]
[[Category:Components{{#translation:}}|Teleport Block]]

Latest revision as of 22:42, 20 March 2025

Component image 
Teleport Block component as seen in the Scene Inspector

The Teleport Block component is a component that is used to Tag colliders like platforms and walls as a place where a user cannot teleport to via the Teleport Locomotion Mode.

Usage

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.

Behavior

When a user using teleport mode tries to teleport onto or through a collider with this component, it will make the path turn red and deny them from teleporting to the selected point.

Examples

Put on walls, and platforms like dangerous areas to prevent teleporting to or through them.


See Also